mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Prevent crash when adding group member by username.
This commit is contained in:
@@ -46,6 +46,10 @@ public final class SelectedContact {
|
||||
}
|
||||
}
|
||||
|
||||
public boolean hasUsername() {
|
||||
return username != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true when non-null recipient ids match, and false if not.
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user