summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piekos <mateuszpiekos@gmail.com>2012-07-02 11:23:59 (GMT)
committerMateusz Piekos <mateuszpiekos@gmail.com>2012-07-02 11:23:59 (GMT)
commitabd00de4a4bb395fd2b66c53c150471e7d8ed8b6 (patch)
tree48bd48eb820e66198715146c5d9b57ee6bee8a0a /Swiften/Whiteboard/WhiteboardSessionManager.cpp
parent975435c14b61b241a8e5890c21c60a5be48c2116 (diff)
downloadswift-contrib-abd00de4a4bb395fd2b66c53c150471e7d8ed8b6.zip
swift-contrib-abd00de4a4bb395fd2b66c53c150471e7d8ed8b6.tar.bz2
Added handling of responses from request IQ
Fixed bug with hanging session requests after one of client crash
Diffstat (limited to 'Swiften/Whiteboard/WhiteboardSessionManager.cpp')
-rw-r--r--Swiften/Whiteboard/WhiteboardSessionManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Whiteboard/WhiteboardSessionManager.cpp b/Swiften/Whiteboard/WhiteboardSessionManager.cpp
index 3cb1cc3..2e519e0 100644
--- a/Swiften/Whiteboard/WhiteboardSessionManager.cpp
+++ b/Swiften/Whiteboard/WhiteboardSessionManager.cpp
@@ -47,8 +47,8 @@ namespace Swift {
WhiteboardSession::ref session = getSession(to);
if (!session) {
OutgoingWhiteboardSession::ref outgoingSession = createOutgoingSession(to);
- outgoingSession->startSession();
onSessionRequest(to, true);
+ outgoingSession->startSession();
return outgoingSession;
} else {
return session;