Notify one deletion per event as Cyril suggested

This commit is contained in:
Gioacchino Mazzurco 2021-01-13 17:24:03 +01:00
parent 045069c3e6
commit cef43fe048
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
5 changed files with 27 additions and 22 deletions

View file

@ -270,9 +270,9 @@ void NewsFeed::handleForumEvent(std::shared_ptr<const RsEvent> event)
case RsForumEventCode::UPDATED_MESSAGE:
case RsForumEventCode::NEW_MESSAGE:
for(const auto& postId: pe->mForumMsgsId)
addFeedItem(new GxsForumMsgItem(
this, NEWSFEED_NEW_FORUM, pe->mForumGroupId, postId,
this, NEWSFEED_NEW_FORUM,
pe->mForumGroupId, pe->mForumMsgId,
false, true ));
break;