Android pushes went through Commet's push gateway (push.commet.chat) by default #42
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
robocub/vommet#42
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fork-only bug (upstream intends to use its own gateway, so there's nothing to check upstream).
The UnifiedPush build registered its Matrix pushers with
push.commet.chat, Commet's push gateway. The choice had been removed from the Settings › Notifications dropdown, but the default inconfig/preferences.dart(pushGateway, used when no gateway was ever saved) still pointed there. So every Vommet Android user's push notifications went through Commet's infrastructure, against the fork's rule of not using Commet's services.Fix: branch
fix/own-push-gateway. The default becomesmatrix.gateway.unifiedpush.org, the UnifiedPush project's public Matrix gateway.updatePushers()deletes pushers whose gateway URL differs and registers a new one, so existing installs migrate on their next start.Follow-ups:
GET <endpoint host>/_matrix/push/v1/notifywith{"unifiedpush":{"gateway":"matrix"}}, which avoids any third-party gateway. Prefer that, falling back to the public gateway.*.commet.chat) is being added with the upstream-sync tooling, so an upstream change can't silently reintroduce one.