aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/logic
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-06-05 01:28:31 +0200
committerfiaxh <git@lightrise.org>2020-06-05 01:28:42 +0200
commitb72ea08d03da64b485b92761aa79af377a58a8e1 (patch)
tree387a78cad6dab9fdd3142f8bede46b94c335592c /plugins/omemo/src/logic
parentd5e036596b94a7ec587d65698249686f0e336e14 (diff)
downloaddino-b72ea08d03da64b485b92761aa79af377a58a8e1.tar.gz
dino-b72ea08d03da64b485b92761aa79af377a58a8e1.zip
Show unencryptable/untrusted OMEMO warnings also in MUCs
fixes #857
Diffstat (limited to 'plugins/omemo/src/logic')
-rw-r--r--plugins/omemo/src/logic/trust_manager.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omemo/src/logic/trust_manager.vala b/plugins/omemo/src/logic/trust_manager.vala
index 50c9bbcb..66de44bc 100644
--- a/plugins/omemo/src/logic/trust_manager.vala
+++ b/plugins/omemo/src/logic/trust_manager.vala
@@ -413,7 +413,7 @@ public class TrustManager {
}
}
- if (our_nodes.size == 0) {
+ if (our_nodes.size == 0 && module.store.local_registration_id != sid) {
db.identity_meta.update_last_message_undecryptable(identity_id, sid, message.time);
trust_manager.bad_message_state_updated(conversation.account, message.from, sid);
}