Ignore on seen only

pull/147/head
M66B 6 years ago
parent 9f1a25d650
commit ec793d30f6

@ -129,9 +129,11 @@ public class EntityOperation {
private static void queue(Context context, DB db, EntityMessage message, String name, JSONArray jargs) {
try {
if (SEEN.equals(name)) {
boolean seen = jargs.getBoolean(0);
for (EntityMessage similar : db.message().getMessageByMsgId(message.account, message.msgid)) {
db.message().setMessageUiSeen(similar.id, jargs.getBoolean(0));
db.message().setMessageUiIgnored(similar.id, true);
if (seen)
db.message().setMessageUiIgnored(similar.id, true);
}
} else if (FLAG.equals(name))

Loading…
Cancel
Save