Room search results don't update unread count
As discovered by @viktomas, https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1447#note_184974383
Room search results don't update unread count
One minor issue I found was with room search. When searching for a room that's joined and that's got unread messages, the correct unread indicator can be visible in search results. However, once you read the messages, the indicator in search results still shows the old indicator.
https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1447#note_184974383
Fix
- Search results should use ID's instead of copies of objects. Then look up the the
roomId
in theroomMap
Edited by Eric Eastwood