aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/logic/trust_manager.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2020-01-15 19:22:25 +0100
committerMarvin W <git@larma.de>2020-01-15 23:45:00 +0100
commit41f98271660827be6528d275bbbbee43c216fbbf (patch)
tree2b5982db3357702eff39689530cdf80d4fe9ac32 /plugins/omemo/src/logic/trust_manager.vala
parent3cfe0d60f679aec81343f12bb846e7805ecad2f2 (diff)
downloaddino-41f98271660827be6528d275bbbbee43c216fbbf.tar.gz
dino-41f98271660827be6528d275bbbbee43c216fbbf.zip
Improve log messages for OMEMO sending issues
Diffstat (limited to 'plugins/omemo/src/logic/trust_manager.vala')
-rw-r--r--plugins/omemo/src/logic/trust_manager.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/omemo/src/logic/trust_manager.vala b/plugins/omemo/src/logic/trust_manager.vala
index 5a169a82..14f19102 100644
--- a/plugins/omemo/src/logic/trust_manager.vala
+++ b/plugins/omemo/src/logic/trust_manager.vala
@@ -175,6 +175,8 @@ public class TrustManager {
status.encrypted = true;
} catch (Error e) {
warning(@"Signal error while encrypting message: $(e.message)\n");
+ message.body = "[OMEMO encryption failed]";
+ status.encrypted = false;
}
return status;
}