mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Use correct jid variable
This commit is contained in:
parent
f504a02167
commit
4a6b1665f3
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user