mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
swarm: add onConversationError()
This new API gives a feedback to clients to know when an error occurs while interacting with conversations or retrieving new messages. For now, it's more for debugging purpose, but can be used for admins to know if somebody is trying to do bad commits Change-Id: I1ec797a51bdc5880d0d116b53faf5c7e13af1e8b GitLab: #373
This commit is contained in:
@ -31,6 +31,7 @@ public:
|
||||
virtual void conversationReady(const std::string& /*accountId*/, const std::string& /* conversationId */){}
|
||||
virtual void conversationRemoved(const std::string& /*accountId*/, const std::string& /* conversationId */){}
|
||||
virtual void conversationMemberEvent(const std::string& /*accountId*/, const std::string& /* conversationId */, const std::string& /* memberUri */, int /* event */){}
|
||||
virtual void onConversationError(const std::string& /*accountId*/, const std::string& /* conversationId */, uint32_t /* code */, const std::string& /* what */){}
|
||||
};
|
||||
%}
|
||||
|
||||
@ -79,4 +80,5 @@ public:
|
||||
virtual void conversationReady(const std::string& /*accountId*/, const std::string& /* conversationId */){}
|
||||
virtual void conversationRemoved(const std::string& /*accountId*/, const std::string& /* conversationId */){}
|
||||
virtual void conversationMemberEvent(const std::string& /*accountId*/, const std::string& /* conversationId */, const std::string& /* memberUri */, int /* event */){}
|
||||
virtual void onConversationError(const std::string& /*accountId*/, const std::string& /* conversationId */, uint32_t /* code */, const std::string& /* what */){}
|
||||
};
|
Reference in New Issue
Block a user