diff options
Diffstat (limited to 'Swiften/Whiteboard')
-rw-r--r-- | Swiften/Whiteboard/WhiteboardSession.cpp | 2 | ||||
-rw-r--r-- | Swiften/Whiteboard/WhiteboardSession.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Whiteboard/WhiteboardSession.cpp b/Swiften/Whiteboard/WhiteboardSession.cpp index 9e4fd9f..18dea52 100644 --- a/Swiften/Whiteboard/WhiteboardSession.cpp +++ b/Swiften/Whiteboard/WhiteboardSession.cpp @@ -27,7 +27,7 @@ namespace Swift { switch (payload->getType()) { case WhiteboardPayload::Data: - onDataReceived(payload->getData()); + onElementReceived(payload->getElement()); break; case WhiteboardPayload::SessionAccept: onRequestAccepted(toJID_); diff --git a/Swiften/Whiteboard/WhiteboardSession.h b/Swiften/Whiteboard/WhiteboardSession.h index fb4305c..e7deb85 100644 --- a/Swiften/Whiteboard/WhiteboardSession.h +++ b/Swiften/Whiteboard/WhiteboardSession.h @@ -32,7 +32,7 @@ namespace Swift { const JID& getTo() const; public: - boost::signal< void(const std::string& data)> onDataReceived; + boost::signal< void(const WhiteboardElement::ref element)> onElementReceived; boost::signal< void(const JID& contact)> onSessionTerminateReceived; boost::signal< void(const JID& contact)> onRequestAccepted; boost::signal< void(const JID& contact)> onSessionCancelled; |