mattermost/mattermost
RNv2: Channel unarchived websocket event does not add the channel back into the channel list
开放
#26,673 创建于 2024年4月5日
Difficulty/1:EasyHelp WantedTech/React Native
仓库指标
- 星标
- (32,880 个星标)
- PR 合并指标
- (平均合并 6天 5小时) (30 天内合并 318 个 PR)
描述
Right now, we are only setting the channel delete at to 0.
If the channel has been deleted from the local database, we do not fetch it again, so it will only be visible if we reload the app.
Steps to reproduce:
- Make sure that
Allow users to view archived channelsis set to false - Open the app and have the list of channels with channel A visible
- In a different client, archive channel A
- (Expected) Channel A disappears from your list of channels in the app
- Without doing anything else in the app, in a different client, go to the System console and unarchive that channel.
Expected:
- The channel reappears in the channel list
Observed:
- The channel does not appear in the channel list until we restart the app
If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.