diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-08-09 11:36:28 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-08-09 11:36:28 +0200 |
commit | a33bf0b4ae4178680d6677ffe4696f2bccfac490 (patch) | |
tree | 67f2f04df7b69c83f23971effb2c27e105937faf /src/eu/siacs/conversations | |
parent | a059dfab2c53921e99a79a9e7ec9f4503bfac082 (diff) |
show add to roster dialog when trying to start otr session
Diffstat (limited to 'src/eu/siacs/conversations')
-rw-r--r-- | src/eu/siacs/conversations/ui/XmppActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/XmppActivity.java b/src/eu/siacs/conversations/ui/XmppActivity.java index 3bac32e2b..592430c5a 100644 --- a/src/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/eu/siacs/conversations/ui/XmppActivity.java @@ -302,7 +302,7 @@ public abstract class XmppActivity extends Activity { public void selectPresence(final Conversation conversation, final OnPresenceSelected listener) { Contact contact = conversation.getContact(); - if (contact == null) { + if (!contact.showInRoster()) { showAddToRosterDialog(conversation); } else { Presences presences = contact.getPresences(); |