mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42:15 -05:00
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,
|
public void selectPresence(final Conversation conversation,
|
||||||
final OnPresenceSelected listener) {
|
final OnPresenceSelected listener) {
|
||||||
Contact contact = conversation.getContact();
|
Contact contact = conversation.getContact();
|
||||||
if (contact == null) {
|
if (!contact.showInRoster()) {
|
||||||
showAddToRosterDialog(conversation);
|
showAddToRosterDialog(conversation);
|
||||||
} else {
|
} else {
|
||||||
Presences presences = contact.getPresences();
|
Presences presences = contact.getPresences();
|
||||||
|
Loading…
Reference in New Issue
Block a user