serverKey assignment was missing, corrected.

This commit is contained in:
mishnz 2023-01-03 00:15:45 +13:00
parent def4960be6
commit 7264982761
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class PushSubscriptionManager{
MastodonAPIController.runInBackground(()->{
result.serverKey=result.serverKey.replace('/','_');
result.serverKey=result.serverKey.replace('+','-');
deserializeRawPublicKey(Base64.decode(result.serverKey, Base64.URL_SAFE));
serverKey=deserializeRawPublicKey(Base64.decode(result.serverKey, Base64.URL_SAFE));
AccountSession session=AccountSessionManager.getInstance().tryGetAccount(accountID);
if(session==null)