fixed mistake that causes missing FeedItems for messages and posted

This commit is contained in:
csoler 2020-01-17 21:22:39 +01:00
parent 5df7f7667f
commit 8941a19db9
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
2 changed files with 5 additions and 8 deletions

View file

@ -188,10 +188,10 @@ void NewsFeed::handleEvent_main_thread(std::shared_ptr<const RsEvent> event)
handleForumEvent(event);
if(event->mType == RsEventType::GXS_POSTED && (flags & RS_FEED_TYPE_POSTED))
handleMailEvent(event);
handlePostedEvent(event);
if(event->mType == RsEventType::MAIL_STATUS_CHANGE && (flags & RS_FEED_TYPE_MSG))
handlePostedEvent(event);
handleMailEvent(event);
}
void NewsFeed::handleMailEvent(std::shared_ptr<const RsEvent> event)