mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-21 05:09:00 +00:00
Merge pull request #593 from TheHollidayInn/push-notification-pm-to-app-fix
Opened app when user clicks PM notification
This commit is contained in:
commit
609a037307
2 changed files with 2 additions and 1 deletions
|
|
@ -111,6 +111,7 @@ public class PushNotificationManager {
|
|||
if (this.user.getPushDevices() == null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
for(PushDevice pushDevice : this.user.getPushDevices()) {
|
||||
if(pushDevice.getRegId().equals(this.refreshedToken)) {
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ public class ReceivedPrivateMessageLocalNotification extends HabiticaLocalNotifi
|
|||
}
|
||||
|
||||
protected void setNotificationActions() {
|
||||
Intent intent = new Intent(context, LocalNotificationActionReceiver.class);
|
||||
Intent intent = new Intent(context, MainActivity.class);
|
||||
PendingIntent pendingIntent = PendingIntent.getActivity(
|
||||
context,
|
||||
3000,
|
||||
|
|
|
|||
Loading…
Reference in a new issue