We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eef7606 + c2e65a8 commit becd020Copy full SHA for becd020
src/core/features/pushnotifications/services/pushnotifications.ts
@@ -781,7 +781,7 @@ export class CorePushNotificationsProvider {
781
* @returns Public key, undefined if the site or the device doesn't support encryption.
782
*/
783
protected async getPublicKey(site: CoreSite): Promise<string | undefined> {
784
- if (!site.isVersionGreaterEqualThan('4.2')) {
+ if (!site.wsAvailable('core_user_update_user_device_public_key')) {
785
return;
786
}
787
0 commit comments