mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 21:16:21 +00:00
Use xmpp_send_raw_string instead of xmpp_send_raw
This commit is contained in:
@@ -842,8 +842,8 @@ _send_message_stanza(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza)
|
||||
|
||||
char *plugin_text = plugins_on_message_stanza_send(text);
|
||||
if (plugin_text) {
|
||||
xmpp_send_raw(conn, plugin_text, strlen(plugin_text));
|
||||
xmpp_send_raw_string(conn, "%s", plugin_text);
|
||||
} else {
|
||||
xmpp_send_raw(conn, text, text_size);
|
||||
xmpp_send_raw_string(conn, "%s", text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user