diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-09-26 15:06:54 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-09-26 15:07:02 (GMT) |
commit | 60823cd43ea17d8e06f3ae4a06f3c92d71fb00e5 (patch) | |
tree | 9e93a7198b5d56980c977c9eeda256747330e796 /Swift/Controllers/Chat/ChatsManager.cpp | |
parent | 2680416456d722a4779322949f6ed230de3d422b (diff) | |
download | swift-60823cd43ea17d8e06f3ae4a06f3c92d71fb00e5.zip swift-60823cd43ea17d8e06f3ae4a06f3c92d71fb00e5.tar.bz2 |
Set/Update empty subjects
Resolves: #1000
Diffstat (limited to 'Swift/Controllers/Chat/ChatsManager.cpp')
-rw-r--r-- | Swift/Controllers/Chat/ChatsManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/ChatsManager.cpp b/Swift/Controllers/Chat/ChatsManager.cpp index c61479c..83f66a3 100644 --- a/Swift/Controllers/Chat/ChatsManager.cpp +++ b/Swift/Controllers/Chat/ChatsManager.cpp @@ -509,7 +509,7 @@ void ChatsManager::handleSearchMUCRequest() { void ChatsManager::handleIncomingMessage(boost::shared_ptr<Message> message) { JID jid = message->getFrom(); boost::shared_ptr<MessageEvent> event(new MessageEvent(message)); - if (!event->isReadable() && !message->getPayload<ChatState>() && message->getSubject().empty()) { + if (!event->isReadable() && !message->getPayload<ChatState>() && !message->hasSubject()) { return; } |