pgp deredundancy

This commit is contained in:
Tony Olagbaiye 2021-07-22 06:58:45 +01:00
parent 0322e7d20a
commit a384787413
No known key found for this signature in database
GPG Key ID: 9E2FF3BDEBDFC910
3 changed files with 6 additions and 0 deletions

View File

@ -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_release(message__x);
xmpp_message_set_body(message, PGP_ADVICE);
weechat_printf(channel->buffer, "[~]\t%s%s: PGP", weechat_color("gray"), account_jid(account));
}
if (url)

View File

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

2
pgp.h
View File

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