mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 21:16:22 +00:00
Use correct jid variable
This commit is contained in:
@@ -923,7 +923,7 @@ _private_chat_handler(xmpp_stanza_t *const stanza)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!message->plain && !message->body) {
|
if (!message->plain && !message->body) {
|
||||||
log_error("Message received without body from: %s", jid->str);
|
log_error("Message received without body from: %s", message->jid->str);
|
||||||
goto out;
|
goto out;
|
||||||
} else if (!message->plain) {
|
} else if (!message->plain) {
|
||||||
message->plain = strdup(message->body);
|
message->plain = strdup(message->body);
|
||||||
|
|||||||
Reference in New Issue
Block a user