mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 19:36:20 +00:00
Use correct jid variable
This commit is contained in:
@@ -923,7 +923,7 @@ _private_chat_handler(xmpp_stanza_t *const stanza)
|
||||
#endif
|
||||
|
||||
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;
|
||||
} else if (!message->plain) {
|
||||
message->plain = strdup(message->body);
|
||||
|
||||
Reference in New Issue
Block a user