mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 15:15:15 -04:00
commit
76f3767756
1 changed files with 12 additions and 2 deletions
|
@ -356,7 +356,7 @@ struct RsMailStatusEvent : RsEvent
|
||||||
#define RS_DISTANT_CHAT_CONTACT_PERMISSION_FLAG_FILTER_NON_CONTACTS 0x0001
|
#define RS_DISTANT_CHAT_CONTACT_PERMISSION_FLAG_FILTER_NON_CONTACTS 0x0001
|
||||||
#define RS_DISTANT_CHAT_CONTACT_PERMISSION_FLAG_FILTER_EVERYBODY 0x0002
|
#define RS_DISTANT_CHAT_CONTACT_PERMISSION_FLAG_FILTER_EVERYBODY 0x0002
|
||||||
|
|
||||||
struct DistantChatPeerInfo
|
struct DistantChatPeerInfo : RsSerializable
|
||||||
{
|
{
|
||||||
DistantChatPeerInfo() : status(0),pending_items(0) {}
|
DistantChatPeerInfo() : status(0),pending_items(0) {}
|
||||||
|
|
||||||
|
@ -365,6 +365,16 @@ struct DistantChatPeerInfo
|
||||||
DistantChatPeerId peer_id ; // this is the tunnel id actually
|
DistantChatPeerId peer_id ; // this is the tunnel id actually
|
||||||
uint32_t status ; // see the values in rsmsgs.h
|
uint32_t status ; // see the values in rsmsgs.h
|
||||||
uint32_t pending_items; // items not sent, waiting for a tunnel
|
uint32_t pending_items; // items not sent, waiting for a tunnel
|
||||||
|
|
||||||
|
///* @see RsEvent @see RsSerializable
|
||||||
|
void serial_process( RsGenericSerializer::SerializeJob j, RsGenericSerializer::SerializeContext& ctx ) override
|
||||||
|
{
|
||||||
|
RS_SERIAL_PROCESS(to_id);
|
||||||
|
RS_SERIAL_PROCESS(own_id);
|
||||||
|
RS_SERIAL_PROCESS(peer_id);
|
||||||
|
RS_SERIAL_PROCESS(status);
|
||||||
|
RS_SERIAL_PROCESS(pending_items);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Identifier for an chat endpoint like
|
// Identifier for an chat endpoint like
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue