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"))) {
|
|| (packet.hasChild("sent"))) {
|
||||||
message = MessageParser.parseCarbonMessage(packet, account,
|
message = MessageParser.parseCarbonMessage(packet, account,
|
||||||
service);
|
service);
|
||||||
if ((message != null)&&(message.getStatus() == Message.STATUS_SEND)) {
|
if (message != null) {
|
||||||
message.getConversation().markRead();
|
if (message.getStatus() == Message.STATUS_SEND) {
|
||||||
notify = false;
|
notify = false;
|
||||||
|
message.getConversation().markRead();
|
||||||
} else {
|
} else {
|
||||||
notify = true;
|
message.markUnread();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue