Skip to content

Commit

Permalink
Use server VAPID keys
Browse files Browse the repository at this point in the history
  • Loading branch information
p1gp1g committed Jan 21, 2025
1 parent 7cd756f commit 281e989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public void addAccount(Instance instance, Token token, Account self, Application
context,
session.getID(),
null,
null
session.app.vapidKey.replaceAll("=","")
);
} else if(PushSubscriptionManager.arePushNotificationsAvailable()){
session.getPushSubscriptionManager().registerAccountForPush(null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void registerAllAccounts(@NonNull Context context) {
context,
accountSession.getID(),
null,
null
accountSession.app.vapidKey.replaceAll("=","")
);
}
}
Expand Down

0 comments on commit 281e989

Please sign in to comment.