Mercurial > ~mikael > mcabber > hg
view mcabber/mcabber/pgp.h @ 2193:18fa5ecb1ef4
Make sure outgoing carbons won't set unread flag
Outgoing carbon copies received from other clients shouldn't set the
unread messages flag if it wasn't set before (regardless of the
'clear_unread_on_carbon' option).
---
mcabber/mcabber/hooks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
author | Holger Weiß <holger@zedat.fu-berlin.de> |
---|---|
date | Tue, 28 Jul 2015 00:27:12 +0200 |
parents | 84252c616919 |
children | 8811fe9d6ef0 |
line wrap: on
line source
#ifndef __MCABBER_PGP_H__ #define __MCABBER_PGP_H__ 1 #include <mcabber/config.h> #ifdef HAVE_GPGME #define GPGME_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_USER_1 #include <gpgme.h> int gpg_init(const char *priv_key, const char *passphrase); void gpg_terminate(void); void gpg_set_passphrase(const char *passphrase); void gpg_set_private_key(const char *priv_keyid); const char *gpg_get_private_key_id(void); char *gpg_verify(const char *gpg_data, const char *text, gpgme_sigsum_t *sigsum); char *gpg_sign(const char *gpg_data); char *gpg_decrypt(const char *gpg_data); char *gpg_encrypt(const char *gpg_data, const char *keyid[], size_t n); int gpg_test_passphrase(void); #endif /* HAVE_GPGME */ int gpg_enabled(void); #endif /* __MCABBER_PGP_H__ */ /* vim: set et cindent cinoptions=>2\:2(0 ts=2 sw=2: For Vim users... */