You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we set a contact as offline as soon as we fail to send him 1 message via P2P.
Once marked as offline, we have no way to restore the P2P session unless one of the two participants restart their application, which would send a broadcast message.
When we are online, we currently only send a broadcast message (or ping) to our online contacts. Maybe we should attempt sending a ping to all contacts for which we have a .loki address stored in memory.
The text was updated successfully, but these errors were encountered:
could we compare timestamps in the message received and if we see that it's within a certain time frame i.e 1 minute then we can mark that person as online and we send them the ping?
We could but this would still require that someone messages someone before they will be marked online again
A naive approach I can think of is sending broadcast messages with tll of 1 minute to all your offline contacts over storage server every minute but feels pretty brute force?
Currently we set a contact as offline as soon as we fail to send him 1 message via P2P.
Once marked as offline, we have no way to restore the P2P session unless one of the two participants restart their application, which would send a broadcast message.
When we are online, we currently only send a broadcast message (or ping) to our online contacts. Maybe we should attempt sending a ping to all contacts for which we have a .loki address stored in memory.
The text was updated successfully, but these errors were encountered: