mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-25 13:58:40 +00:00
Update to latest version of libtextsecure for simplified interface.
1) Switch to new TextSecureAddress addressing, rather than mixing long-based recipient IDs into libtextsecure. 2) Get rid of RecipientFormattingException throws in calls to RecipientFactory. Closes #2570
This commit is contained in:
@@ -128,13 +128,7 @@ public class RecipientsEditor extends MultiAutoCompleteTextView {
|
||||
}
|
||||
|
||||
public Recipients constructContactsFromInput() {
|
||||
Recipients r = null;
|
||||
try {
|
||||
r = RecipientFactory.getRecipientsFromString(mContext, mTokenizer.getRawString(), false);
|
||||
} catch (RecipientFormattingException e) {
|
||||
Log.w( "RecipientsEditor", e);
|
||||
}
|
||||
return r;
|
||||
return RecipientFactory.getRecipientsFromString(mContext, mTokenizer.getRawString(), false);
|
||||
}
|
||||
|
||||
private boolean isValidAddress(String number, boolean isMms) {
|
||||
|
||||
Reference in New Issue
Block a user