Page MenuHomePhabricator

After Aphlict reconnects, ask the server to replay recent messages
ClosedPublic

Authored by epriestley on Apr 17 2017, 9:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 23, 11:10 PM
Unknown Object (File)
Tue, Jan 21, 12:55 PM
Unknown Object (File)
Fri, Jan 17, 8:14 PM
Unknown Object (File)
Sun, Jan 12, 6:35 PM
Unknown Object (File)
Dec 20 2024, 8:57 PM
Unknown Object (File)
Dec 18 2024, 4:41 PM
Unknown Object (File)
Dec 18 2024, 12:17 PM
Unknown Object (File)
Dec 12 2024, 1:46 PM
Subscribers
None

Details

Summary

Fixes T12563. If we've ever seen an "open", mark all future connections as reconnects. When we reconnect, replay recent history.

(Until duplicate messages (T12564) are handled better this may cause some notification duplication.)

Also emit a reconnect event (for T12566) but don't use it yet.

Test Plan

Screen Shot 2017-04-17 at 2.22.56 PM.png (916×2 px, 347 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 17 2017, 10:33 PM
This revision was automatically updated to reflect the committed changes.