diff options
author | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2022-06-17 15:43:54 +0300 |
---|---|---|
committer | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2022-06-17 15:43:54 +0300 |
commit | e4e53d6e01642e0f4ca98d7fb41e20d39d045bfe (patch) | |
tree | 741f5bc49d30c65fd61275452e63763204b7cc6c /tests/unittests/config | |
parent | 476c73251c2787930f866c76484eb1417a834cea (diff) | |
download | profani-tty-e4e53d6e01642e0f4ca98d7fb41e20d39d045bfe.tar.gz |
Don't forget encryption status for OX and PGP.
Use a pgp.enabled and ox.enabled array the same way that omemo.enabled is used. Fixes https://github.com/profanity-im/profanity/issues/1694 Fixes https://github.com/profanity-im/profanity/issues/733
Diffstat (limited to 'tests/unittests/config')
-rw-r--r-- | tests/unittests/config/stub_accounts.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/unittests/config/stub_accounts.c b/tests/unittests/config/stub_accounts.c index 653b2897..08b934d9 100644 --- a/tests/unittests/config/stub_accounts.c +++ b/tests/unittests/config/stub_accounts.c @@ -318,3 +318,13 @@ void accounts_add_omemo_state(const char* const account_name, const char* const contact_jid, gboolean enabled) { } + +void +accounts_add_pgp_state(const char* const account_name, const char* const contact_jid, gboolean enabled) +{ +} + +void +accounts_add_ox_state(const char* const account_name, const char* const contact_jid, gboolean enabled) +{ +} |