fixed updating of data after read status change

This commit is contained in:
csoler 2020-06-13 14:31:39 +02:00
parent ebaf5e63c3
commit f8deebfc5a
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
3 changed files with 77 additions and 4 deletions

View file

@ -428,10 +428,11 @@ void GxsChannelPostsWidgetWithModel::handleEvent_main_thread(std::shared_ptr<con
case RsChannelEventCode::UPDATED_CHANNEL: // [[fallthrough]];
case RsChannelEventCode::NEW_MESSAGE: // [[fallthrough]];
case RsChannelEventCode::UPDATED_MESSAGE:
case RsChannelEventCode::READ_STATUS_CHANGED:
{
if(e->mChannelGroupId == groupId())
updateDisplay(true);
break;
}
default:
break;
}