diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-24 08:56:17 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-24 08:56:17 (GMT) |
commit | 833e544490a0e3ff5eeebe44fae2b9a8f98d4a78 (patch) | |
tree | b7381c1325155ae666cac88180cca829b9e65bba /Swift/Controllers | |
parent | ed208c8ce62dea1bdec51e904d51afa5229363c5 (diff) | |
download | swift-contrib-833e544490a0e3ff5eeebe44fae2b9a8f98d4a78.zip swift-contrib-833e544490a0e3ff5eeebe44fae2b9a8f98d4a78.tar.bz2 |
Removed unneeded parameter "from"
Diffstat (limited to 'Swift/Controllers')
-rw-r--r-- | Swift/Controllers/Chat/ChatController.cpp | 2 | ||||
-rw-r--r-- | Swift/Controllers/UIInterfaces/ChatWindow.h | 2 | ||||
-rw-r--r-- | Swift/Controllers/UnitTest/MockChatWindow.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Swift/Controllers/Chat/ChatController.cpp b/Swift/Controllers/Chat/ChatController.cpp index 3b74368..4f95cf7 100644 --- a/Swift/Controllers/Chat/ChatController.cpp +++ b/Swift/Controllers/Chat/ChatController.cpp @@ -262,7 +262,7 @@ void ChatController::handleNewFileTransferController(FileTransferController* ftc } void ChatController::handleWhiteboardSessionRequest(bool senderIsSelf) { - lastWbID_ = chatWindow_->addWhiteboardRequest(toJID_, senderIsSelf); + lastWbID_ = chatWindow_->addWhiteboardRequest(senderIsSelf); } void ChatController::handleWhiteboardStateChange(const ChatWindow::WhiteboardSessionState state) { diff --git a/Swift/Controllers/UIInterfaces/ChatWindow.h b/Swift/Controllers/UIInterfaces/ChatWindow.h index 86fb439..1c6edd6 100644 --- a/Swift/Controllers/UIInterfaces/ChatWindow.h +++ b/Swift/Controllers/UIInterfaces/ChatWindow.h @@ -60,7 +60,7 @@ namespace Swift { virtual void setFileTransferStatus(std::string, const FileTransferState state, const std::string& msg = "") = 0; virtual void addMUCInvitation(const std::string& senderName, const JID& jid, const std::string& reason, const std::string& password, bool direct = true) = 0; - virtual std::string addWhiteboardRequest(const JID& from, bool senderIsSelf) = 0; + virtual std::string addWhiteboardRequest(bool senderIsSelf) = 0; virtual void setWhiteboardSessionStatus(std::string id, const ChatWindow::WhiteboardSessionState state) = 0; // message receipts diff --git a/Swift/Controllers/UnitTest/MockChatWindow.h b/Swift/Controllers/UnitTest/MockChatWindow.h index 983619b..649c542 100644 --- a/Swift/Controllers/UnitTest/MockChatWindow.h +++ b/Swift/Controllers/UnitTest/MockChatWindow.h @@ -53,7 +53,7 @@ namespace Swift { virtual void showRoomConfigurationForm(Form::ref) {} virtual void addMUCInvitation(const std::string& /*senderName*/, const JID& /*jid*/, const std::string& /*reason*/, const std::string& /*password*/, bool = true) {}; - virtual std::string addWhiteboardRequest(const JID&, bool) {return "";}; + virtual std::string addWhiteboardRequest(bool) {return "";}; virtual void setWhiteboardSessionStatus(std::string, const ChatWindow::WhiteboardSessionState){}; virtual void setAffiliations(MUCOccupant::Affiliation, const std::vector<JID>&) {} |