diff options
author | Paul Fariello <paul@fariello.eu> | 2019-04-09 08:22:35 +0320 |
---|---|---|
committer | Paul Fariello <paul@fariello.eu> | 2019-04-10 17:24:56 +0200 |
commit | 0bc660400b9a62ae2982b1ec6c374de13ec54477 (patch) | |
tree | 9dda2dbd9913e3a90f1fb7da4597b2f7683378c4 /tests/unittests/omemo | |
parent | 25eb138d0b1cdddb5b0338f84c5b5f4dca0098ca (diff) | |
download | profani-tty-0bc660400b9a62ae2982b1ec6c374de13ec54477.tar.gz |
Automatically starts OMEMO if one identity is trusted
Diffstat (limited to 'tests/unittests/omemo')
-rw-r--r-- | tests/unittests/omemo/stub_omemo.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unittests/omemo/stub_omemo.c b/tests/unittests/omemo/stub_omemo.c index 84398378..5b1d02df 100644 --- a/tests/unittests/omemo/stub_omemo.c +++ b/tests/unittests/omemo/stub_omemo.c @@ -22,6 +22,12 @@ omemo_format_fingerprint(const char *const fingerprint) void omemo_generate_crypto_materials(ProfAccount *account) {} gboolean +omemo_is_trusted_jid(const char *const jid) +{ + return TRUE; +} + +gboolean omemo_is_trusted_identity(const char *const jid, const char *const fingerprint) { return TRUE; |