show add to roster dialog when trying to start otr session
This commit is contained in:
parent
a059dfab2c
commit
a33bf0b4ae
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue