Mark single messages read only

pull/145/head
M66B 6 years ago
parent 1226acd11a
commit 4ae0fdc802

@ -746,8 +746,10 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
if (!message.content)
EntityOperation.queue(db, message, EntityOperation.BODY);
db.message().setMessageUiSeen(message.id, true);
EntityOperation.queue(db, message, EntityOperation.SEEN, true);
if (!message.threaded) {
db.message().setMessageUiSeen(message.id, true);
EntityOperation.queue(db, message, EntityOperation.SEEN, true);
}
db.setTransactionSuccessful();
} finally {

Loading…
Cancel
Save