diff options
author | George Hazan <ghazan@miranda.im> | 2022-11-23 21:31:29 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-11-23 21:31:29 +0300 |
commit | a68939933169c5cc80f820addf5e047d51460031 (patch) | |
tree | c38a6152f818c7d5f43244e0a12b13402d6402ea | |
parent | c13251cb16f0fdbd3bca28c3a03948ca1127c89e (diff) |
fixes #3254 (Jabber: cannot clear topic)
-rw-r--r-- | protocols/JabberG/src/jabber_groupchat.cpp | 4 |
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;
|