mirror of
				https://github.com/oxen-io/session-android.git
				synced 2025-11-03 16:26:26 +00:00 
			
		
		
		
	Refactor recipient access.
1) Refactor recipient class to support asynchronous loading operations. 2) Refactor recipient factory to simplify recipient access. 3) Consoliate everything into one recipient provider that is capable of doing async lookups and intelligent caching.
This commit is contained in:
		@@ -128,7 +128,7 @@ public class SmsMigrator {
 | 
			
		||||
 | 
			
		||||
    try {
 | 
			
		||||
      if (sb.length() == 0) return null;
 | 
			
		||||
      else                  return RecipientFactory.getRecipientsFromString(context, sb.toString());
 | 
			
		||||
      else                  return RecipientFactory.getRecipientsFromString(context, sb.toString(), true);
 | 
			
		||||
    } catch (RecipientFormattingException rfe) {
 | 
			
		||||
      Log.w("SmsMigrator", rfe);
 | 
			
		||||
      return null;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user