about summary refs log tree commit diff stats
path: root/src/xmpp/omemo.h
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2019-06-07 23:53:44 +0200
committerPaul Fariello <paul@fariello.eu>2019-06-20 14:29:55 +0200
commita650ecc67d700ae14a1bd05ca6196533829ba5ce (patch)
treecf7ffbe8db598e9f313fc739757b9daf44a83ce3 /src/xmpp/omemo.h
parent2604786cb6fcf1c541000a971c59d709ef12abf5 (diff)
downloadprofani-tty-a650ecc67d700ae14a1bd05ca6196533829ba5ce.tar.gz
Add trusted state after OMEMO decryption
Use it to print message on red background if not trusted.
Diffstat (limited to 'src/xmpp/omemo.h')
-rw-r--r--src/xmpp/omemo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/omemo.h b/src/xmpp/omemo.h
index f1fff7b7..8d796a02 100644
--- a/src/xmpp/omemo.h
+++ b/src/xmpp/omemo.h
@@ -8,4 +8,4 @@ void omemo_devicelist_request(const char * const jid);
 void omemo_bundle_publish(gboolean first);
 void omemo_bundle_request(const char * const jid, uint32_t device_id, ProfIqCallback func, ProfIqFreeCallback free_func, void *userdata);
 int omemo_start_device_session_handle_bundle(xmpp_stanza_t *const stanza, void *const userdata);
-char * omemo_receive_message(xmpp_stanza_t *const stanza);
+char * omemo_receive_message(xmpp_stanza_t *const stanza, gboolean *trusted);