mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-31 04:36:10 +00:00
Prevent UUID-only contacts from being added to GV1 groups.
This commit is contained in:
@@ -60,7 +60,7 @@ public class NewConversationActivity extends ContactSelectionActivity
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onContactSelected(Optional<RecipientId> recipientId, String number) {
|
||||
public boolean onContactSelected(Optional<RecipientId> recipientId, String number) {
|
||||
if (recipientId.isPresent()) {
|
||||
launch(Recipient.resolved(recipientId.get()));
|
||||
} else {
|
||||
@@ -92,6 +92,8 @@ public class NewConversationActivity extends ContactSelectionActivity
|
||||
launch(Recipient.external(this, number));
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void launch(Recipient recipient) {
|
||||
|
||||
Reference in New Issue
Block a user