1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Use correct jid variable

This commit is contained in:
Michael Vetter 2019-07-03 15:28:46 +02:00
parent f504a02167
commit 4a6b1665f3

View File

@ -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);