mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
removed duplicate peerID/grpId in msg/grp update maps
This commit is contained in:
parent
478746f2b2
commit
0d94b683dd
2 changed files with 40 additions and 45 deletions
|
@ -79,7 +79,6 @@ public:
|
|||
update_TS = 0 ;
|
||||
}
|
||||
|
||||
RsGxsGroupId grpId ;
|
||||
uint32_t msg_keep_delay ; // delay after which we discard the posts
|
||||
uint32_t msg_send_delay ; // delay after which we dont send the posts anymore
|
||||
uint32_t msg_req_delay ; // delay after which we dont get the posts from friends
|
||||
|
@ -101,6 +100,8 @@ public:
|
|||
|
||||
virtual bool serialise(void *data,uint32_t& size) const ;
|
||||
virtual uint32_t serial_size() const ;
|
||||
|
||||
RsGxsGroupId grpId ;
|
||||
};
|
||||
|
||||
class RsGxsGrpUpdate
|
||||
|
@ -108,7 +109,6 @@ class RsGxsGrpUpdate
|
|||
public:
|
||||
RsGxsGrpUpdate() { grpUpdateTS=0;}
|
||||
|
||||
RsPeerId peerID;
|
||||
uint32_t grpUpdateTS;
|
||||
};
|
||||
|
||||
|
@ -125,6 +125,8 @@ public:
|
|||
|
||||
virtual bool serialise(void *data,uint32_t& size) const ;
|
||||
virtual uint32_t serial_size() const ;
|
||||
|
||||
RsPeerId peerID;
|
||||
};
|
||||
|
||||
class RsGxsServerGrpUpdate
|
||||
|
@ -161,7 +163,6 @@ public:
|
|||
uint32_t message_count ;
|
||||
};
|
||||
|
||||
RsPeerId peerID;
|
||||
std::map<RsGxsGroupId, MsgUpdateInfo> msgUpdateInfos;
|
||||
};
|
||||
|
||||
|
@ -178,6 +179,8 @@ public:
|
|||
|
||||
virtual bool serialise(void *data,uint32_t& size) const ;
|
||||
virtual uint32_t serial_size() const ;
|
||||
|
||||
RsPeerId peerID;
|
||||
};
|
||||
|
||||
class RsGxsServerMsgUpdate
|
||||
|
@ -185,7 +188,6 @@ class RsGxsServerMsgUpdate
|
|||
public:
|
||||
RsGxsServerMsgUpdate() { msgUpdateTS = 0 ;}
|
||||
|
||||
RsGxsGroupId grpId;
|
||||
uint32_t msgUpdateTS; // local time stamp this group last received a new msg
|
||||
};
|
||||
|
||||
|
@ -201,6 +203,8 @@ public:
|
|||
|
||||
virtual bool serialise(void *data,uint32_t& size) const ;
|
||||
virtual uint32_t serial_size() const ;
|
||||
|
||||
RsGxsGroupId grpId;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue