Add version to user agent string
This commit is contained in:
		
							parent
							
								
									7f21bf0f23
								
							
						
					
					
						commit
						ab25003061
					
				| @ -51,7 +51,9 @@ class Manager { | ||||
|     private final static String URL = "https://textsecure-service.whispersystems.org"; | ||||
|     private final static TrustStore TRUST_STORE = new WhisperTrustStore(); | ||||
| 
 | ||||
|     private final static String USER_AGENT = "textsecure-cli"; | ||||
|     public final static String PROJECT_NAME =  Manager.class.getPackage().getImplementationTitle(); | ||||
|     public final static String PROJECT_VERSION =  Manager.class.getPackage().getImplementationVersion(); | ||||
|     private final static String USER_AGENT = PROJECT_NAME + " " + PROJECT_VERSION; | ||||
| 
 | ||||
|     private final static String settingsPath = System.getProperty("user.home") + "/.config/textsecure"; | ||||
|     private final static String dataPath = settingsPath + "/data"; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 AsamK
						AsamK