Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
e604da4ff4
|
@ -162,6 +162,8 @@ public class PushSubscriptionManager{
|
|||
@Override
|
||||
public void onSuccess(PushSubscription result){
|
||||
MastodonAPIController.runInBackground(()->{
|
||||
result.serverKey=result.serverKey.replace('/','_');
|
||||
result.serverKey=result.serverKey.replace('+','-');
|
||||
serverKey=deserializeRawPublicKey(Base64.decode(result.serverKey, Base64.URL_SAFE));
|
||||
|
||||
AccountSession session=AccountSessionManager.getInstance().tryGetAccount(accountID);
|
||||
|
|
Loading…
Reference in New Issue