summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/JabberG/src/jabber_groupchat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp
index cc9f07ce96..7fd448657f 100644
--- a/protocols/JabberG/src/jabber_groupchat.cpp
+++ b/protocols/JabberG/src/jabber_groupchat.cpp
@@ -1015,8 +1015,8 @@ void CJabberProto::GroupchatProcessMessage(const TiXmlElement *node)
if ((n = XmlFirstChild(node, "subject")) != nullptr) {
msgText = n->GetText();
- if (msgText == nullptr || msgText[0] == '\0')
- return;
+ if (msgText == nullptr)
+ msgText = "";
gce.iType = GC_EVENT_TOPIC;