We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efa00ae commit 9425784Copy full SHA for 9425784
1 file changed
src/main/java/com/github/theholywaffle/teamspeak3/TS3Api.java
@@ -3461,10 +3461,7 @@ public boolean setMessageRead(Message message) {
3461
*/
3462
public boolean setMessageReadFlag(int messageId, boolean read) {
3463
final CMessageUpdateFlag flag = new CMessageUpdateFlag(messageId, read);
3464
- if (query.doCommand(flag)) {
3465
- return flag.getError().isSuccessful();
3466
- }
3467
- return read;
+ return query.doCommand(flag);
3468
}
3469
3470
/**
0 commit comments