mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
allow calling getDistantChatStatus via json api
This commit is contained in:
parent
2abd284899
commit
dfed3d6fb5
@ -982,6 +982,14 @@ 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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @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 getDistantChatStatus(const DistantChatPeerId& pid,DistantChatPeerInfo& info)=0;
|
||||||
virtual bool closeDistantChatConnexion(const DistantChatPeerId& pid)=0;
|
virtual bool closeDistantChatConnexion(const DistantChatPeerId& pid)=0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user