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

Daniel Gultsch created

Change summary

src/eu/siacs/conversations/services/XmppConnectionService.java | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

src/eu/siacs/conversations/services/XmppConnectionService.java 🔗

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