step three. unread if sent msg in muc arrives. to cryptic? it does awesome shit to you
This commit is contained in:
parent
9a5a429888
commit
83c5fdaf0e
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue