diff --git a/include/transport/transport.h b/include/transport/transport.h index 88b1b3b108c63c7f4d903a3fec1c9e8e97a6aca7..5c91442b7854a1ec3975f548a8cc2d2f345c5152 100644 --- a/include/transport/transport.h +++ b/include/transport/transport.h @@ -133,8 +133,8 @@ namespace Transport { void handleConnected(); void handleConnectionError(const Swift::ComponentError &error); void handlePresence(Swift::Presence::ref presence); - void handleDataRead(const std::string &data); - void handleDataWritten(const std::string &data); + void handleDataRead(const Swift::SafeByteArray &data); + void handleDataWritten(const Swift::SafeByteArray &data); // void handleDiscoInfoResponse(boost::shared_ptr info, Swift::ErrorPayload::ref error, const Swift::JID& jid); void handleCapsChanged(const Swift::JID& jid);