diff options
Diffstat (limited to 'Swiften/Whiteboard/WhiteboardSession.cpp')
-rw-r--r-- | Swiften/Whiteboard/WhiteboardSession.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Whiteboard/WhiteboardSession.cpp b/Swiften/Whiteboard/WhiteboardSession.cpp index 92865e3..10b5e51 100644 --- a/Swiften/Whiteboard/WhiteboardSession.cpp +++ b/Swiften/Whiteboard/WhiteboardSession.cpp @@ -28,7 +28,7 @@ namespace Swift { onRequestAccepted(toJID_); return; case WhiteboardPayload::SessionTerminate: - onSessionTerminateReceived(toJID_); + onSessionTerminated(toJID_); return; //handled elsewhere @@ -55,7 +55,7 @@ namespace Swift { boost::shared_ptr<WhiteboardPayload> payload = boost::make_shared<WhiteboardPayload>(WhiteboardPayload::SessionTerminate); boost::shared_ptr<GenericRequest<WhiteboardPayload> > request = boost::make_shared<GenericRequest<WhiteboardPayload> >(IQ::Set, toJID_, payload, router_); request->send(); - onSessionCancelled(toJID_); + onSessionTerminated(toJID_); } const JID& WhiteboardSession::getTo() const { |