mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 01:16:21 +00:00
Handle simple execution
Tested with ping from biboumi
This commit is contained in:
@@ -2045,7 +2045,7 @@ xmpp_stanza_t*
|
||||
stanza_create_command_exec_iq(xmpp_ctx_t *ctx, const char *const target,
|
||||
const char *const node)
|
||||
{
|
||||
char *id = create_unique_id("command");
|
||||
char *id = connection_create_stanza_id("cmdexec");
|
||||
xmpp_stanza_t *iq = xmpp_iq_new(ctx, STANZA_TYPE_SET, id);
|
||||
free(id);
|
||||
xmpp_stanza_set_to(iq, target);
|
||||
|
||||
Reference in New Issue
Block a user