diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-04-28 11:06:38 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-04-28 11:08:11 (GMT) |
commit | 534b7771cbfdee2fa60f6f154d578c3ef8cf2563 (patch) | |
tree | 21c09fa579ad4e9ef6cefdab98aee7e38a9f250e /Swift/Controllers/Chat/ChatController.cpp | |
parent | d6f10adb0a723022eb4e4b57cdfff8288145f407 (diff) | |
download | swift-contrib-534b7771cbfdee2fa60f6f154d578c3ef8cf2563.zip swift-contrib-534b7771cbfdee2fa60f6f154d578c3ef8cf2563.tar.bz2 |
Send label catalogue queries to bare/full JID as appropriate.
Resolves: #244
Diffstat (limited to 'Swift/Controllers/Chat/ChatController.cpp')
-rw-r--r-- | Swift/Controllers/Chat/ChatController.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatController.cpp b/Swift/Controllers/Chat/ChatController.cpp index 5a18a98..2fa4559 100644 --- a/Swift/Controllers/Chat/ChatController.cpp +++ b/Swift/Controllers/Chat/ChatController.cpp @@ -91,6 +91,10 @@ ChatController::~ChatController() { delete chatStateTracker_; } +JID ChatController::getBaseJID() { + return isInMUC_ ? toJID_ : ChatControllerBase::getBaseJID(); +} + void ChatController::cancelReplaces() { lastWasPresence_ = false; } |