mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			33 lines
		
	
	
		
			808 B
		
	
	
	
		
			Objective-C
		
	
			
		
		
	
	
			33 lines
		
	
	
		
			808 B
		
	
	
	
		
			Objective-C
		
	
| //
 | |
| //  Copyright (c) 2018 Open Whisper Systems. All rights reserved.
 | |
| //
 | |
| 
 | |
| #import "OWSAvatarBuilder.h"
 | |
| #import <SessionServiceKit/TSThread.h>
 | |
| 
 | |
| NS_ASSUME_NONNULL_BEGIN
 | |
| 
 | |
| @class TSContactThread;
 | |
| 
 | |
| @interface OWSContactAvatarBuilder : OWSAvatarBuilder
 | |
| 
 | |
| /**
 | |
|  * Build an avatar for a Signal recipient
 | |
|  */
 | |
| - (instancetype)initWithSignalId:(NSString *)signalId
 | |
|                        colorName:(ConversationColorName)colorName
 | |
|                         diameter:(NSUInteger)diameter;
 | |
| 
 | |
| /**
 | |
|  * Build an avatar for a non-Signal recipient
 | |
|  */
 | |
| - (instancetype)initWithNonSignalName:(NSString *)nonSignalName
 | |
|                             colorSeed:(NSString *)colorSeed
 | |
|                              diameter:(NSUInteger)diameter;
 | |
| 
 | |
| - (instancetype)initForLocalUserWithDiameter:(NSUInteger)diameter;
 | |
| 
 | |
| @end
 | |
| 
 | |
| NS_ASSUME_NONNULL_END
 |