mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-01 00:36:21 +00:00
Add /blocked command
This commit is contained in:
@@ -54,6 +54,9 @@
|
||||
|
||||
#define STANZA_NAME_MESSAGE "message"
|
||||
#define STANZA_NAME_BODY "body"
|
||||
#define STANZA_NAME_BLOCK "block"
|
||||
#define STANZA_NAME_UNBLOCK "unblock"
|
||||
#define STANZA_NAME_BLOCKLIST "blocklist"
|
||||
#define STANZA_NAME_PRESENCE "presence"
|
||||
#define STANZA_NAME_PRIORITY "priority"
|
||||
#define STANZA_NAME_X "x"
|
||||
@@ -181,6 +184,7 @@
|
||||
#define STANZA_NS_ENCRYPTED "jabber:x:encrypted"
|
||||
#define STANZA_NS_HTTP_UPLOAD "urn:xmpp:http:upload"
|
||||
#define STANZA_NS_X_OOB "jabber:x:oob"
|
||||
#define STANZA_NS_BLOCKING "urn:xmpp:blocking"
|
||||
|
||||
#define STANZA_DATAFORM_SOFTWARE "urn:xmpp:dataforms:softwareinfo"
|
||||
|
||||
@@ -205,6 +209,8 @@ typedef enum {
|
||||
|
||||
xmpp_stanza_t* stanza_create_bookmarks_storage_request(xmpp_ctx_t *ctx);
|
||||
|
||||
xmpp_stanza_t* stanza_create_blocked_list_request(xmpp_ctx_t *ctx);
|
||||
|
||||
xmpp_stanza_t* stanza_create_http_upload_request(xmpp_ctx_t *ctx, const char *const id, const char *const jid, HTTPUpload *upload);
|
||||
|
||||
xmpp_stanza_t* stanza_enable_carbons(xmpp_ctx_t *ctx);
|
||||
|
||||
Reference in New Issue
Block a user