mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 23:16:22 +00:00
auto-format
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
@@ -79,7 +79,7 @@ avatar_pep_subscribe(void)
|
||||
message_pubsub_event_handler_add(STANZA_NS_USER_AVATAR_METADATA, _avatar_metadata_handler, NULL, NULL);
|
||||
message_pubsub_event_handler_add(STANZA_NS_USER_AVATAR_DATA, _avatar_metadata_handler, NULL, NULL);
|
||||
|
||||
//caps_add_feature(XMPP_FEATURE_USER_AVATAR_METADATA_NOTIFY);
|
||||
// caps_add_feature(XMPP_FEATURE_USER_AVATAR_METADATA_NOTIFY);
|
||||
|
||||
if (looking_for) {
|
||||
g_hash_table_destroy(looking_for);
|
||||
|
||||
@@ -1074,7 +1074,7 @@ _random_bytes_close(void)
|
||||
static void
|
||||
_compute_identifier(const char* barejid)
|
||||
{
|
||||
//in case of reconnect (lost connection)
|
||||
// in case of reconnect (lost connection)
|
||||
free(prof_identifier);
|
||||
|
||||
prof_identifier = g_compute_hmac_for_string(G_CHECKSUM_SHA256,
|
||||
|
||||
@@ -437,7 +437,7 @@ omemo_receive_message(xmpp_stanza_t* const stanza, gboolean* trusted)
|
||||
keys = g_list_append(keys, key);
|
||||
continue;
|
||||
|
||||
skip:
|
||||
skip:
|
||||
free(key);
|
||||
}
|
||||
|
||||
|
||||
@@ -222,7 +222,7 @@ ox_request_public_key(const char* const jid, const char* const fingerprint)
|
||||
</item>
|
||||
</publish>
|
||||
</pubsub>
|
||||
</iq>
|
||||
</iq>
|
||||
</pre>
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* ox.h
|
||||
* vim: expandtab:ts=4:sts=4:sw=4
|
||||
*
|
||||
* Copyright (C) 2020 Stefan Kropp <stefan@debxwoody.de>
|
||||
* Copyright (C) 2020 Stefan Kropp <stefan@debxwoody.de>
|
||||
*
|
||||
* This file is part of Profanity.
|
||||
*
|
||||
@@ -35,10 +35,10 @@
|
||||
|
||||
/*!
|
||||
* \page OX OX Implementation
|
||||
*
|
||||
*
|
||||
* \section OX XEP-0373: OpenPGP for XMPP
|
||||
* XEP-0373: OpenPGP for XMPP (OX) is the implementation of OpenPGP for XMPP
|
||||
* replace the XEP-0027.
|
||||
* replace the XEP-0027.
|
||||
*
|
||||
* https://xmpp.org/extensions/xep-0373.html
|
||||
*/
|
||||
@@ -48,10 +48,10 @@
|
||||
*
|
||||
* Reads the public key from the given file. Checks the key-information and
|
||||
* pushes the key on PEP.
|
||||
*
|
||||
*
|
||||
* https://xmpp.org/extensions/xep-0373.html#announcing-pubkey
|
||||
*
|
||||
* \param filename name of the file with the public key
|
||||
* \param filename name of the file with the public key
|
||||
* \return TRUE: success; FALSE: failed
|
||||
*/
|
||||
|
||||
|
||||
@@ -2605,7 +2605,7 @@ stanza_create_mam_iq(xmpp_ctx_t* ctx, const char* const jid, const char* const s
|
||||
char* id = connection_create_stanza_id();
|
||||
xmpp_stanza_t* iq = xmpp_iq_new(ctx, STANZA_TYPE_SET, id);
|
||||
free(id);
|
||||
//xmpp_stanza_set_to(iq, jid);
|
||||
// xmpp_stanza_set_to(iq, jid);
|
||||
|
||||
xmpp_stanza_t* query = xmpp_stanza_new(ctx);
|
||||
xmpp_stanza_set_name(query, STANZA_NAME_QUERY);
|
||||
|
||||
@@ -99,7 +99,7 @@ typedef struct bookmark_t
|
||||
char* password;
|
||||
char* name;
|
||||
gboolean autojoin;
|
||||
int ext_gajim_minimize; //0 - non existent, 1 - true, 2 - false
|
||||
int ext_gajim_minimize; // 0 - non existent, 1 - true, 2 - false
|
||||
} Bookmark;
|
||||
|
||||
typedef struct disco_identity_t
|
||||
|
||||
Reference in New Issue
Block a user