- 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);
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.