pgp deredundancy

v1
Tony Olagbaiye 3 years ago
parent 0322e7d20a
commit a384787413
No known key found for this signature in database
GPG Key ID: 9E2FF3BDEBDFC910

@ -948,6 +948,8 @@ void channel__send_message(struct t_account *account, struct t_channel *channel,
xmpp_stanza_add_child(message, message__x); xmpp_stanza_add_child(message, message__x);
xmpp_stanza_release(message__x); xmpp_stanza_release(message__x);
xmpp_message_set_body(message, PGP_ADVICE);
weechat_printf(channel->buffer, "[~]\t%s%s: PGP", weechat_color("gray"), account_jid(account)); weechat_printf(channel->buffer, "[~]\t%s%s: PGP", weechat_color("gray"), account_jid(account));
} }
if (url) if (url)

@ -5,6 +5,8 @@
#ifndef _WEECHAT_XMPP_OMEMO_H_ #ifndef _WEECHAT_XMPP_OMEMO_H_
#define _WEECHAT_XMPP_OMEMO_H_ #define _WEECHAT_XMPP_OMEMO_H_
extern const char *OMEMO_ADVICE;
struct t_identity struct t_identity
{ {
uint8_t *key; uint8_t *key;

@ -5,6 +5,8 @@
#ifndef _WEECHAT_XMPP_PGP_H_ #ifndef _WEECHAT_XMPP_PGP_H_
#define _WEECHAT_XMPP_PGP_H_ #define _WEECHAT_XMPP_PGP_H_
extern const char *PGP_ADVICE;
struct t_pgp struct t_pgp
{ {
struct rnp_ffi_st *context; struct rnp_ffi_st *context;

Loading…
Cancel
Save