mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 15:42:25 -05:00 
			
		
		
		
	[bugfix] Fix incorrect domain showing in profiles (#693)
* use instance account_domain in profile * add instance account_domain field
This commit is contained in:
		
					parent
					
						
							
								b6be973d40
							
						
					
				
			
			
				commit
				
					
						b61b000e0a
					
				
			
		
					 4 changed files with 13 additions and 6 deletions
				
			
		|  | @ -25,8 +25,13 @@ import "mime/multipart" | |||
| // swagger:model instance | ||||
| type Instance struct { | ||||
| 	// The URI of the instance. | ||||
| 	// example: https://example.org | ||||
| 	// example: https://gts.example.org | ||||
| 	URI string `json:"uri,omitempty"` | ||||
| 	// The domain of accounts on this instance. | ||||
| 	// This will not necessarily be the same as | ||||
| 	// simply the Host part of the URI. | ||||
| 	// example: example.org | ||||
| 	AccountDomain string `json:"account_domain,omitempty"` | ||||
| 	// The title of the instance. | ||||
| 	// example: GoToSocial Example Instance | ||||
| 	Title string `json:"title,omitempty"` | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue