aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-08-06 00:51:23 +0200
committerfiaxh <git@mx.ax.lt>2018-08-06 00:53:59 +0200
commitee5c838a6ba85c9d6e72ac2941a7994505aaa4fc (patch)
tree9e91b8910def5e9fbe9cf01cc21de52c3bc84ba3 /libdino/src
parent41c333263b82070c731f8f5b5183bafde4ab3f5d (diff)
downloaddino-ee5c838a6ba85c9d6e72ac2941a7994505aaa4fc.tar.gz
dino-ee5c838a6ba85c9d6e72ac2941a7994505aaa4fc.zip
Fix MUC messages from others being marked as read
Diffstat (limited to 'libdino/src')
-rw-r--r--libdino/src/service/muc_manager.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdino/src/service/muc_manager.vala b/libdino/src/service/muc_manager.vala
index e9ad1b81..b69d71f2 100644
--- a/libdino/src/service/muc_manager.vala
+++ b/libdino/src/service/muc_manager.vala
@@ -378,9 +378,9 @@ public class MucManager : StreamInteractionModule, Object {
m.marked = Message.Marked.RECEIVED;
}
}
+ // For own messages from other devices (msg is not a duplicate msg)
+ message.marked = Message.Marked.RECEIVED;
}
- // For own messages from other devices (msg is not a duplicate msg)
- message.marked = Message.Marked.RECEIVED;
return false;
}