diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-04-28 11:50:36 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-04-28 11:50:36 (GMT) |
commit | f60d331a3e32eff632a9af3b7bd5fc1c1811365f (patch) | |
tree | e92191e729a3727153f1c6c89a4bbb8b32d89a8d /Swift/Controllers/Chat/UnitTest | |
parent | 534b7771cbfdee2fa60f6f154d578c3ef8cf2563 (diff) | |
download | swift-contrib-f60d331a3e32eff632a9af3b7bd5fc1c1811365f.zip swift-contrib-f60d331a3e32eff632a9af3b7bd5fc1c1811365f.tar.bz2 |
Only open chat windows when there's something to be displayed.
Resolves: #1009
Diffstat (limited to 'Swift/Controllers/Chat/UnitTest')
-rw-r--r-- | Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp b/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp index bbfb22f..3d2db7d 100644 --- a/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp +++ b/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp @@ -433,6 +433,7 @@ private: boost::shared_ptr<Message> message = boost::make_shared<Message>(); message->setFrom(from); message->setID(id); + message->setBody("This will cause the window to open"); message->addPayload(boost::make_shared<DeliveryReceiptRequest>()); return message; } |