Skip to content

Commit

Permalink
Fix sk22#842
Browse files Browse the repository at this point in the history
  • Loading branch information
grishka authored and LucasGGamerM committed May 22, 2024
1 parent c64d6db commit ef23734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void onReceive(Context context, Intent intent){
}
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){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
public class PushNotification extends BaseModel{
public String accessToken;
public String preferredLocale;
public long notificationId;
public String notificationId;
@RequiredField
public Type notificationType;
@RequiredField
Expand Down

0 comments on commit ef23734

Please sign in to comment.