mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 01:32:17 -05:00
marked incoming carbons as unread
This commit is contained in:
parent
34bd79ac04
commit
ee24baa0fd
@ -136,11 +136,13 @@ public class XmppConnectionService extends Service {
|
||||
|| (packet.hasChild("sent"))) {
|
||||
message = MessageParser.parseCarbonMessage(packet, account,
|
||||
service);
|
||||
if ((message != null)&&(message.getStatus() == Message.STATUS_SEND)) {
|
||||
message.getConversation().markRead();
|
||||
notify = false;
|
||||
} else {
|
||||
notify = true;
|
||||
if (message != null) {
|
||||
if (message.getStatus() == Message.STATUS_SEND) {
|
||||
notify = false;
|
||||
message.getConversation().markRead();
|
||||
} else {
|
||||
message.markUnread();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user