mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
fixed feed bug by moving away from std::string as a return type to uniqueIdentifier(). Now uint64_ hash is used and cached
This commit is contained in:
parent
ff86d3cd20
commit
137cb5271d
22 changed files with 51 additions and 31 deletions
|
@ -37,7 +37,7 @@ public:
|
|||
|
||||
void updateItemStatic();
|
||||
|
||||
virtual std::string uniqueIdentifier() const override { return "ChatMsgItem " + mPeerId.toStdString(); }
|
||||
virtual uint64_t uniqueIdentifier() const override { return hash_64bits("ChatMsgItem " + mPeerId.toStdString()); }
|
||||
protected:
|
||||
/* FeedItem */
|
||||
virtual void doExpand(bool /*open*/) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue