Implement xmpp_stanza_reply()
This function creates a copy of the given stanza minus its children and set the “to” attribute with the value of the original “from”.
This commit is contained in:
committed by
Dmitry Podgorny
parent
21f742f888
commit
9de0293405
@@ -360,9 +360,7 @@ int xmpp_stanza_set_from(xmpp_stanza_t * const stanza,
|
||||
const char * const from);
|
||||
|
||||
/* allocate and initialize a stanza in reply to another */
|
||||
/* unimplemented
|
||||
xmpp_stanza_t *xmpp_stanza_reply(const xmpp_stanza_t *stanza);
|
||||
*/
|
||||
xmpp_stanza_t *xmpp_stanza_reply(xmpp_stanza_t * const stanza);
|
||||
|
||||
/* stanza subclasses */
|
||||
/* unimplemented
|
||||
|
||||
Reference in New Issue
Block a user