mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 03:06:21 +00:00
Send entity capabilities and status when joining room
This commit is contained in:
@@ -112,7 +112,8 @@ xmpp_stanza_t* stanza_create_message(xmpp_ctx_t *ctx,
|
||||
const char * const message, const char * const state);
|
||||
|
||||
xmpp_stanza_t* stanza_create_room_join_presence(xmpp_ctx_t *ctx,
|
||||
const char * const full_room_jid);
|
||||
const char * const full_room_jid, const char * const show,
|
||||
const char * const status);
|
||||
|
||||
xmpp_stanza_t* stanza_create_room_newnick_presence(xmpp_ctx_t *ctx,
|
||||
const char * const full_room_jid);
|
||||
@@ -149,4 +150,8 @@ gboolean stanza_is_version_request(xmpp_stanza_t * const stanza);
|
||||
DataForm * stanza_create_form(xmpp_stanza_t * const stanza);
|
||||
void stanza_destroy_form(DataForm *form);
|
||||
|
||||
void stanza_attach_priority(xmpp_ctx_t *ctx, xmpp_stanza_t *presence, int pri);
|
||||
void stanza_attach_last_activity(xmpp_ctx_t *ctx, xmpp_stanza_t *presence, int idle);
|
||||
void stanza_attach_caps(xmpp_ctx_t *ctx, xmpp_stanza_t *presence);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user