step three. unread if sent msg in muc arrives. to cryptic? it does awesome shit to you

This commit is contained in:
Daniel Gultsch 2014-03-08 06:04:06 +01:00
parent 9a5a429888
commit 83c5fdaf0e

View File

@ -131,6 +131,9 @@ public class XmppConnectionService extends Service {
if (message != null) { if (message != null) {
if (message.getStatus() == Message.STATUS_RECIEVED) { if (message.getStatus() == Message.STATUS_RECIEVED) {
message.markUnread(); message.markUnread();
} else {
message.getConversation().markRead();
notify = false;
} }
} }
} else if (packet.getType() == MessagePacket.TYPE_ERROR) { } else if (packet.getType() == MessagePacket.TYPE_ERROR) {