fix opening the event through the notification

This commit is contained in:
tibbi 2016-07-07 10:49:58 +02:00
parent 4e294d89d8
commit bbdc79cffa
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public class NotificationPublisher extends BroadcastReceiver {
private PendingIntent getPendingIntent(Context context, Event event) {
final Intent intent = new Intent(context, EventActivity.class);
intent.putExtra(Constants.EVENT, event);
return PendingIntent.getActivity(context, 0, intent, 0);
return PendingIntent.getActivity(context, event.getId(), intent, 0);
}
private Notification getNotification(Context context, PendingIntent pendingIntent, String content) {