about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/xmpp/message.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c
index 4ecb334b..c106517b 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -128,6 +128,8 @@ message_send_chat(const char * const barejid, const char * const msg)
         } else {
             message = stanza_create_message(ctx, id, jid, STANZA_TYPE_CHAT, msg);
         }
+    } else {
+        message = stanza_create_message(ctx, id, jid, STANZA_TYPE_CHAT, msg);
     }
 #else
     message = stanza_create_message(ctx, id, jid, STANZA_TYPE_CHAT, msg);