about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2019-06-21 13:47:26 +0200
committerPaul Fariello <paul@fariello.eu>2019-06-21 15:50:41 +0200
commit498b75afa9a24d3288b0deb855dfedb8b608c54a (patch)
treefb1e9e0f0407fc3bcdc84a235a3e15b936f3d5ff
parentff46703073d5fb73cc4cf3aabc98ab68732f33e0 (diff)
downloadprofani-tty-498b75afa9a24d3288b0deb855dfedb8b608c54a.tar.gz
Don't highlight cleartext message as untrusted
-rw-r--r--src/xmpp/message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c
index 4f088b8e..55f332b2 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -191,6 +191,7 @@ message_init(void)
     message->plain = NULL;
     message->enc = PROF_MSG_ENC_PLAIN;
     message->timestamp = NULL;
+    message->trusted = true;
 
     return message;
 }