Merge branch 'master' into donations
This commit is contained in:
commit
1dd40a77de
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ public class PushNotificationReceiver extends BroadcastReceiver{
|
|||
}
|
||||
String accountID=account.getID();
|
||||
PushNotification pn=AccountSessionManager.getInstance().getAccount(accountID).getPushSubscriptionManager().decryptNotification(k, p, s);
|
||||
new GetNotificationByID(pn.notificationId+"")
|
||||
new GetNotificationByID(pn.notificationId)
|
||||
.setCallback(new Callback<>(){
|
||||
@Override
|
||||
public void onSuccess(org.joinmastodon.android.model.Notification result){
|
||||
|
|
|
@ -10,7 +10,7 @@ import androidx.annotation.StringRes;
|
|||
public class PushNotification extends BaseModel{
|
||||
public String accessToken;
|
||||
public String preferredLocale;
|
||||
public long notificationId;
|
||||
public String notificationId;
|
||||
@RequiredField
|
||||
public Type notificationType;
|
||||
@RequiredField
|
||||
|
|
Loading…
Add table
Reference in a new issue