mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 14:46:21 +00:00
Feature request - XEP-0373: OpenPGP for XMPP (OX)
Basic implementation of XEP-0373: OpenPGP for XMPP. https://xmpp.org/extensions/xep-0373.html Command /ox Issue: #1331
This commit is contained in:
committed by
Michael Vetter
parent
3afd854dc8
commit
2c94ee5a88
@@ -62,6 +62,7 @@
|
||||
#define PREF_GROUP_OTR "otr"
|
||||
#define PREF_GROUP_PGP "pgp"
|
||||
#define PREF_GROUP_OMEMO "omemo"
|
||||
#define PREF_GROUP_OX "ox"
|
||||
#define PREF_GROUP_MUC "muc"
|
||||
#define PREF_GROUP_PLUGINS "plugins"
|
||||
|
||||
@@ -942,6 +943,18 @@ prefs_set_pgp_char(char *ch)
|
||||
return _prefs_set_encryption_char(ch, PREF_GROUP_PGP, "pgp.char");
|
||||
}
|
||||
|
||||
char*
|
||||
prefs_get_ox_char(void)
|
||||
{
|
||||
return _prefs_get_encryption_char("%", PREF_GROUP_OX, "ox.char");
|
||||
}
|
||||
|
||||
gboolean
|
||||
prefs_set_ox_char(char *ch)
|
||||
{
|
||||
return _prefs_set_encryption_char(ch, PREF_GROUP_OX, "ox.char");
|
||||
}
|
||||
|
||||
char*
|
||||
prefs_get_omemo_char(void)
|
||||
{
|
||||
|
||||
@@ -244,6 +244,9 @@ char* prefs_get_pgp_char(void);
|
||||
gboolean prefs_set_pgp_char(char *ch);
|
||||
char* prefs_get_omemo_char(void);
|
||||
gboolean prefs_set_omemo_char(char *ch);
|
||||
// XEP-0373: OpenPGP for XMPP
|
||||
char* prefs_get_ox_char(void);
|
||||
gboolean prefs_set_ox_char(char *ch);
|
||||
|
||||
char prefs_get_roster_header_char(void);
|
||||
void prefs_set_roster_header_char(char ch);
|
||||
|
||||
Reference in New Issue
Block a user