diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-07-10 01:55:19 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-07-10 01:55:19 +0200 |
commit | f8763015eb100568c69dfc89e8e25b4aa9b454e9 (patch) | |
tree | 19a0c134fd35b73c1ca1cab44e5a3107940021a7 /src/eu/siacs/conversations/ui/ConversationActivity.java | |
parent | 2684ecda1ec085621d3b0b19f7ff7dd0c3193221 (diff) |
added contextual menu for contacts
Diffstat (limited to 'src/eu/siacs/conversations/ui/ConversationActivity.java')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationActivity.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationActivity.java b/src/eu/siacs/conversations/ui/ConversationActivity.java index c29529ec5..1f3ab2fbd 100644 --- a/src/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/eu/siacs/conversations/ui/ConversationActivity.java @@ -496,12 +496,7 @@ public class ConversationActivity extends XmppActivity { case R.id.action_contact_details: Contact contact = this.getSelectedConversation().getContact(); if (contact.showInRoster()) { - Intent intent = new Intent(this, ContactDetailsActivity.class); - intent.setAction(ContactDetailsActivity.ACTION_VIEW_CONTACT); - intent.putExtra("account", this.getSelectedConversation() - .getAccount().getJid()); - intent.putExtra("contact", contact.getJid()); - startActivity(intent); + switchToContactDetails(contact); } else { showAddToRosterDialog(getSelectedConversation()); } |