diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-06-04 08:23:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-04 08:23:56 +0200 |
commit | 8ffb1bdd37fc92c14294ad2b1d3dbc7b849249fc (patch) | |
tree | 6b3675cd9684d4fdd689479e2f1556401db678a1 | |
parent | e1fbe3be90089d99d4996ff6e146e053124fb419 (diff) | |
parent | 183eeca6321e1f31e7a665eb00a5ed6edc4e481d (diff) | |
download | profani-tty-8ffb1bdd37fc92c14294ad2b1d3dbc7b849249fc.tar.gz |
Merge pull request #1550 from DebXWoody/messagewithoutbody
Message received without body error log
-rw-r--r-- | src/xmpp/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c index b6be52a8..fc841ae2 100644 --- a/src/xmpp/message.c +++ b/src/xmpp/message.c @@ -1086,7 +1086,7 @@ _handle_groupchat(xmpp_stanza_t* const stanza) #endif if (!message->plain && !message->body) { - log_error("Message received without body for room: %s", from_jid->str); + log_info("Message received without body for room: %s", from_jid->str); goto out; } else if (!message->plain) { message->plain = strdup(message->body); @@ -1244,7 +1244,7 @@ _handle_muc_private_message(xmpp_stanza_t* const stanza) message->body = xmpp_message_get_body(stanza); if (!message->plain && !message->body) { - log_error("Message received without body from: %s", message->from_jid->str); + log_info("Message received without body from: %s", message->from_jid->str); goto out; } else if (!message->plain) { message->plain = strdup(message->body); |