mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 22:42:24 -05:00 
			
		
		
		
	change getaccount function signature
This commit is contained in:
		
					parent
					
						
							
								a6fb93ae2a
							
						
					
				
			
			
				commit
				
					
						926b37e271
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -33,7 +33,7 @@ import ( | ||||||
| 
 | 
 | ||||||
| // Dereferencer wraps logic and functionality for doing dereferencing of remote accounts, statuses, etc, from federated instances. | // Dereferencer wraps logic and functionality for doing dereferencing of remote accounts, statuses, etc, from federated instances. | ||||||
| type Dereferencer interface { | type Dereferencer interface { | ||||||
| 	GetRemoteAccount(ctx context.Context, username string, remoteAccountID *url.URL, refresh bool, blocking bool) (*gtsmodel.Account, error) | 	GetRemoteAccount(ctx context.Context, username string, remoteAccountID *url.URL, blocking bool, refresh bool) (*gtsmodel.Account, error) | ||||||
| 
 | 
 | ||||||
| 	GetRemoteStatus(ctx context.Context, username string, remoteStatusID *url.URL, refresh, includeParent bool) (*gtsmodel.Status, ap.Statusable, bool, error) | 	GetRemoteStatus(ctx context.Context, username string, remoteStatusID *url.URL, refresh, includeParent bool) (*gtsmodel.Status, ap.Statusable, bool, error) | ||||||
| 	EnrichRemoteStatus(ctx context.Context, username string, status *gtsmodel.Status, includeParent bool) (*gtsmodel.Status, error) | 	EnrichRemoteStatus(ctx context.Context, username string, status *gtsmodel.Status, includeParent bool) (*gtsmodel.Status, error) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue