mattermost / mattermost-mobile

Next generation iOS and Android apps for Mattermost in React Native
https://about.mattermost.com/
Apache License 2.0
2.27k stars 1.38k forks source link

Archived teams still showing in Android app (2.20) #8380

Open fabgilson opened 13 hours ago

fabgilson commented 13 hours ago

Summary

When archiving a team, it still shows up in the Android mobile app.

Environment Information

Steps to reproduce

  1. archive some teams
  2. open the android app
  3. see that the team is still there, even able to open channels and browse messages
  4. stay on the team and close app
  5. clear app cache
  6. open the app again, a message is displayed to say that you were removed from the team
  7. other archived teams are still showing up, you can open and browse channels, but cannot see their content anymore (only part of cache cleared?)

Notes:

  1. if you archive more than one team, you'd need to repeat steps 4 -> 6 to clear all archived teams
  2. if you clear all data, and re-log into the app, all teams are removed as expected.

Expected behavior

All archived teams to be removed from the mobile app.

Observed behavior (that appears unintentional)

Archived teams are still showing up in the app. Note that archived teams are correctly removed on the web / Mac (Sonoma 14.7.1) / Linux (Ubuntu 24.04.1) apps.

Possible fixes

Not checked yet, can potentially do.

enahum commented 11 hours ago

@larkox I believe you modified the guessing game first, can you please check and create a ticket if needed?

Thanks