aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/trust_manager.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-03-15 20:56:19 +0100
committerfiaxh <git@lightrise.org>2019-03-15 22:01:34 +0100
commit6f6e4b97cba49469440fc0aefafb71623a3eabb9 (patch)
treee5a11627d5d34a9eac9ad50ee0822a05fe7b91bf /plugins/omemo/src/trust_manager.vala
parenta49326979140750cc22cf483182274638568e43d (diff)
downloaddino-6f6e4b97cba49469440fc0aefafb71623a3eabb9.tar.gz
dino-6f6e4b97cba49469440fc0aefafb71623a3eabb9.zip
Use glib log functions
Diffstat (limited to 'plugins/omemo/src/trust_manager.vala')
-rw-r--r--plugins/omemo/src/trust_manager.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/omemo/src/trust_manager.vala b/plugins/omemo/src/trust_manager.vala
index 4ec141f0..d57adc35 100644
--- a/plugins/omemo/src/trust_manager.vala
+++ b/plugins/omemo/src/trust_manager.vala
@@ -159,7 +159,7 @@ public class TrustManager {
message.body = "[This message is OMEMO encrypted]";
status.encrypted = true;
} catch (Error e) {
- if (Plugin.DEBUG) print(@"OMEMO: Signal error while encrypting message: $(e.message)\n");
+ warning(@"Signal error while encrypting message: $(e.message)\n");
}
return status;
}
@@ -327,7 +327,7 @@ public class TrustManager {
break;
}
} catch (Error e) {
- if (Plugin.DEBUG) print(@"OMEMO: Signal error while decrypting message: $(e.message)\n");
+ warning(@"Signal error while decrypting message: $(e.message)\n");
}
}
}