Prevent crash when adding group member by username.

This commit is contained in:
Greyson Parrelli
2023-01-04 09:53:20 -05:00
parent 4de27482bb
commit b9fc36be5a
2 changed files with 5 additions and 1 deletions

View File

@@ -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>