Trigger client logout (by server)

Hello, @some_admins

Interesting observation. You mentioned that the Android app still show messages even after deleting them in the database and revoking all sessions:

  • May I know the method you performed to delete the messages? Did you use any of the command line tools to do this?

  • Did you revoke the sessions through the UI or from the database?

  • When you mentioned some messages are still present after logging in, does that mean that you have to log out and log in twice before it gets cleared?

  • What version of Mattermost Server, mobile OS, and Mattermost mobile app version you are running on

The behavior you mentioned sounds like a bug since the cache should be cleared when you are logged out by default. So, I want to see if I can reproduce it on my end.