serverKey assignment was missing, corrected.

This commit is contained in:
mishnz 2023-01-03 00:15:45 +13:00 committed by LucasGGamerM
parent 34a4dd6d1f
commit 8dd22e1853
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class PushSubscriptionManager{
MastodonAPIController.runInBackground(()->{ MastodonAPIController.runInBackground(()->{
result.serverKey=result.serverKey.replace('/','_'); result.serverKey=result.serverKey.replace('/','_');
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); AccountSession session=AccountSessionManager.getInstance().tryGetAccount(accountID);
if(session==null) if(session==null)