messages bug, send a notification to myself

  • Replies:2
  • OpenNot stickiedUnanswered
  • Forum posts: 1

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);

Deactivated Account
  • Forum posts: 271

Jan 5, 2016 1:26:31 PM via Website

I didn't understand what you want to say, could you elaborate your question.?

Looking for security app? Try Leo Privacy Guard 3.0.

Join Our Christmas Contest by visiting our Facebook page LEO Privacy Guard

  • Forum posts: 644

Jan 5, 2016 2:14:36 PM via Website

I have one but i have used AlertDialog, for builder. Your code is not enough to understand. where is the rest code?

Looking for security app? Try Leo Privacy Guard 3.0.

Join Our Christmas Contest by visiting our Facebook page "LEO Privacy Guard"