Marlinski / Rumble

Rumble allows the sharing of messages and pictures without relying on the Internet, in a Delay Tolerant Fashion following the Store-Carry and Forward paradigm
http://disruptedsystems.org
GNU General Public License v3.0
298 stars 27 forks source link

After going offline, neighbour stays visible for too long and does not receive missed statuses on reconnect #56

Open ghost opened 7 years ago

ghost commented 7 years ago

I have two devices (A and B) that are on the same wifi and they can chat and show statuses just fine. But when one, say B, disconnects (for example I switch off wifi on it), the other one, A, shows B as online (in neighbors) for quite a long time and any status set on A, while this lasts, will not get to B once it comes back.

Statuses set after A finds out that B is offline (it stops showing it in neighbors), statuses set on A will get to B when it comes back online.

Steps to reproduce: Start rumble on two devices (A and B). Make them see each other over wifi, check that chat works. Turn wifi off on B. Observe that B still shows in A's neighborhood. Set some status (S1) on A. Wait until B disappears from A's neighborhood. Set another status on A (S2). Turn B's wifi back. Observe that only second status (S2) shows on B.

Expected result: all missed statuses appear on B.