Merge pull request #486 from mishnz/master
The Mastodon server does not currently use URL_SAFE encoding on its s…
This commit is contained in:
commit
525cc69c70
|
@ -162,7 +162,7 @@ public class PushSubscriptionManager{
|
|||
@Override
|
||||
public void onSuccess(PushSubscription result){
|
||||
MastodonAPIController.runInBackground(()->{
|
||||
serverKey=deserializeRawPublicKey(Base64.decode(result.serverKey, Base64.URL_SAFE));
|
||||
serverKey=deserializeRawPublicKey(Base64.decode(result.serverKey, Base64.DEFAULT));
|
||||
|
||||
AccountSession session=AccountSessionManager.getInstance().tryGetAccount(accountID);
|
||||
if(session==null)
|
||||
|
|
Loading…
Reference in New Issue