3 ms·
This is only a guess. Mere speculation. Perhaps the QR scanning connects the phone and the browser via some token stored somewhere and used to both authenticat
by hasenj 12y ago
This is only a guess. Mere speculation.
Perhaps the QR scanning connects the phone and the browser via some token stored somewhere and used to both authenticate and send/receive messages.
Think of the "token" as a channel. Phone sends all messages to that channel. Browser gets messages from the channel.
This is obviously not the whole picture. For example, the web app can scroll back and "load" previous messages.
It's weird though. Why would they go through such a router? It would make a lot more sense to just use the QR scanning to authenticate, and then let the browser receive messages in the same way that the phone app does: directly from the server(s).