Our app login state may not reflect the actual login state in MediaWiki, which can cause unexpected behavior.
As an example, it's possible for this issue to result in echo notification queries failing. I think these steps will reproduce it:
- Log into the app while logged into the desktop site with the same account
- Log out of the desktop site and log in with another account
- Perform an action that should trigger a notification for the app user with the second account
- The next app request for notifications will fail with a login required error.
I think the result of this is that a user who logs out on the desktop site after logging into the app (and appearing to still be logged in) will erroneously not receive expected notifications.