Page MenuHomePhabricator

Move subscription updates to the `register` function.
ClosedPublic

Authored by joshuaspence on Jun 11 2014, 8:51 PM.
Tags
None
Referenced Files
F13151445: D9487.diff
Sat, May 4, 6:34 PM
Unknown Object (File)
Wed, Apr 24, 10:19 PM
Unknown Object (File)
Sat, Apr 20, 7:04 PM
Unknown Object (File)
Wed, Apr 17, 5:05 AM
Unknown Object (File)
Feb 11 2024, 3:43 PM
Unknown Object (File)
Feb 11 2024, 7:48 AM
Unknown Object (File)
Feb 6 2024, 3:46 AM
Unknown Object (File)
Jan 6 2024, 11:13 AM
Subscribers

Details

Summary

Currently, the AphlictClient will only send its subscriptions to the AphlictMaster once. If the original AphlictMaster is closed and a new master is created, then client subscriptions will be lost.

Test Plan

Opened two separate tabs. Closed the "master" tab and noticed that the subscriptions were re-sent to the server.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Move subscription notifications to the `register` function..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

Hold up on this.

OK yeah this seems to work for me.

joshuaspence retitled this revision from Move subscription notifications to the `register` function. to Move subscription updates to the `register` function..Jun 11 2014, 9:03 PM
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence edited edge metadata.
epriestley edited edge metadata.

Nice, this feels cleaner even ignoring the bit where it fixes an issue.

This revision is now accepted and ready to land.Jun 11 2014, 9:08 PM
epriestley updated this revision to Diff 22712.

Closed by commit rPaa534c69f042 (authored by @joshuaspence, committed by @epriestley).