summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-11-23 21:31:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-11-23 21:31:29 +0300
commita68939933169c5cc80f820addf5e047d51460031 (patch)
treec38a6152f818c7d5f43244e0a12b13402d6402ea /protocols/JabberG
parentc13251cb16f0fdbd3bca28c3a03948ca1127c89e (diff)
fixes #3254 (Jabber: cannot clear topic)
Diffstat (limited to 'protocols/JabberG')
-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;