serverKey assignment was missing, corrected.
This commit is contained in:
parent
34a4dd6d1f
commit
8dd22e1853
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue