Added: tokens in PeersHandler

This commit is contained in:
Konrad 2017-03-28 11:20:51 +02:00
parent efd6ce3ed5
commit 6e530027f8
2 changed files with 31 additions and 11 deletions

View file

@ -50,9 +50,14 @@ private:
RsMsgs* mRsMsgs; // required for avatar data
std::list<RsPeerId> mOnlinePeers;
uint32_t status;
std::string custom_state_string;
RsMutex mMtx;
StateToken mStateToken; // mutex protected
StateToken mStringStateToken; // mutex protected
StateToken mCustomStateToken; // mutex protected
std::map<RsPeerId, uint32_t> mUnreadMsgsCounts;
};
} // namespace resource_api