Have somebody fixed the issue with online/offline status in the Webapp and could share the code?
Right now user always stays "online", even with minimized browser when using another program and with screen off on mobile phones. User only should appear online when browser tab with Tinode's chat is visible.
To the sender it looks that recipient is online but ignoring received messages.
As I see, the web app already is using "visibilitychange", so it could be easy to fix it but I am not familiar with React.