diff options
author | Marvin W <git@larma.de> | 2020-01-15 19:22:25 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2020-01-15 23:45:00 +0100 |
commit | 41f98271660827be6528d275bbbbee43c216fbbf (patch) | |
tree | 2b5982db3357702eff39689530cdf80d4fe9ac32 /plugins/omemo/src/logic/trust_manager.vala | |
parent | 3cfe0d60f679aec81343f12bb846e7805ecad2f2 (diff) | |
download | dino-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.vala | 2 |
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; } |