- Forum posts: 1
Jan 5, 2016, 7:26:15 AM via Website
Jan 5, 2016 7:26:15 AM via Website
HI, everyone,
my app connect to parse.com,
when member A send a message to members B, mobile phone will get a notification, when member B press the notification, it will go to a private chat, but not chat with member A, only go to chat with member B himself, that means chat with himself. how to fix it ?thx
Intent messengerIntent = new Intent(context, MessengerActivity.class);
messengerIntent.putExtra(MessengerActivity.EXTRA_USER_TO_ID, userId);
PendingIntent messengerPendingIntent = PendingIntent.getActivity(context, 0, messengerIntent, PendingIntent.FLAG_UPDATE_CURRENT);
builder.setContentIntent(messengerPendingIntent);