mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 14:56:22 +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
@@ -288,6 +288,8 @@ static prof_msg_type_t _get_message_type_type(const char *const type) {
|
||||
|
||||
static const char* _get_message_enc_str(prof_enc_t enc) {
|
||||
switch (enc) {
|
||||
case PROF_MSG_ENC_OX:
|
||||
return "ox";
|
||||
case PROF_MSG_ENC_PGP:
|
||||
return "pgp";
|
||||
case PROF_MSG_ENC_OTR:
|
||||
@@ -298,7 +300,7 @@ static const char* _get_message_enc_str(prof_enc_t enc) {
|
||||
return "none";
|
||||
}
|
||||
|
||||
return "none";
|
||||
return "none"; // do not return none - return NULL
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user