make webpush enabled check better

Because Continuwuity sends a VAPID even when webpush is disabled.
This commit is contained in:
Henry Hiles 2026-12-02 13:50:34 -05:00
commit 9d495410f6
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -23,7 +23,7 @@ class UnifiedPushAllowedController extends AsyncNotifier<String?> {
CapabilitiesController.provider.future,
);
if (capabilities.webpush?.vapid == null) {
if (capabilities.webPushVapid == null) {
return "Your homeserver does not support MSC4174 (Web Push), and therefore cannot send notifications to Nexus.";
}