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) if (!message.content)
EntityOperation.queue(db, message, EntityOperation.BODY); EntityOperation.queue(db, message, EntityOperation.BODY);
db.message().setMessageUiSeen(message.id, true); if (!message.threaded) {
EntityOperation.queue(db, message, EntityOperation.SEEN, true); db.message().setMessageUiSeen(message.id, true);
EntityOperation.queue(db, message, EntityOperation.SEEN, true);
}
db.setTransactionSuccessful(); db.setTransactionSuccessful();
} finally { } finally {

Loading…
Cancel
Save