Skip to content

Conversation

gnprice
Copy link
Member

@gnprice gnprice commented Sep 23, 2025

This refactor helps prepare for #1764, the new E2EE notifications.

As a bonus, it also cleans up what had been a messy area of UpdateMachine.

This logic is about the token, and this is the class that tracks
the token in the first place, so the logic might as well live here
on this class.
This makes a more comfortable home for adding further logic
in this area.
Now these tests invoke this code the same way it gets invoked in
production.  Instead of directly invoking a registerToken method,
they use a debug hook that can only pause and resume a control path
which has already been started.
@gnprice gnprice requested a review from chrisbobbe September 23, 2025 23:21
@gnprice gnprice added the maintainer review PR ready for review by Zulip maintainers label Sep 23, 2025
@chrisbobbe chrisbobbe merged commit f6e90e0 into zulip:main Sep 24, 2025
1 check passed
@chrisbobbe
Copy link
Collaborator

Thanks, LGTM! Merged.

@gnprice gnprice deleted the pr-push-device branch September 24, 2025 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer review PR ready for review by Zulip maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants