summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/Controllers/Chat/MUCSearchController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/MUCSearchController.cpp b/Swift/Controllers/Chat/MUCSearchController.cpp
index 5312fa7..f0f8a37 100644
--- a/Swift/Controllers/Chat/MUCSearchController.cpp
+++ b/Swift/Controllers/Chat/MUCSearchController.cpp
@@ -40,8 +40,8 @@ void MUCSearchController::openSearchWindow() {
window_->onSearchService.connect(boost::bind(&MUCSearchController::handleSearchService, this, _1));
window_->onFinished.connect(boost::bind(&MUCSearchController::handleMUCSearchFinished, this, _1));
window_->addSavedServices(savedServices_);
- handleSearchService(JID(jid_.getDomain()));
}
+ handleSearchService(JID(jid_.getDomain()));
window_->show();
}