mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-27 08:41:50 +00:00
Fix for NPE
This commit is contained in:
@@ -54,6 +54,10 @@ public class RecipientFactory {
|
||||
public static Recipients getRecipientsFromString(Context context, String rawText, boolean asynchronous)
|
||||
throws RecipientFormattingException
|
||||
{
|
||||
if (rawText == null) {
|
||||
throw new RecipientFormattingException("Null recipient string specified");
|
||||
}
|
||||
|
||||
List<Recipient> results = new LinkedList<Recipient>();
|
||||
StringTokenizer tokenizer = new StringTokenizer(rawText, ",");
|
||||
|
||||
|
Reference in New Issue
Block a user