allow calling getDistantChatStatus via json api

This commit is contained in:
sehraf 2020-04-04 13:51:19 +02:00
parent 2abd284899
commit dfed3d6fb5
No known key found for this signature in database
GPG Key ID: DF09F6EAE356B2C6

View File

@ -982,7 +982,15 @@ virtual bool initiateDistantChatConnexion(
const RsGxsId& to_pid, const RsGxsId& from_pid, const RsGxsId& to_pid, const RsGxsId& from_pid,
DistantChatPeerId& pid, uint32_t& error_code, DistantChatPeerId& pid, uint32_t& error_code,
bool notify = true ) = 0; bool notify = true ) = 0;
virtual bool getDistantChatStatus(const DistantChatPeerId& pid,DistantChatPeerInfo& info)=0;
/**
* @brief getDistantChatStatus receives distant chat info to a given distant chat id
* @jsonapi{development}
* @param[in] pid distant chat id
* @param[out] info distant chat info
* @return true on success
*/
virtual bool getDistantChatStatus(const DistantChatPeerId& pid,DistantChatPeerInfo& info)=0;
virtual bool closeDistantChatConnexion(const DistantChatPeerId& pid)=0; virtual bool closeDistantChatConnexion(const DistantChatPeerId& pid)=0;
/** /**