mirror of
				https://github.com/matrix-org/gomatrix
				synced 2025-10-31 20:38:07 +00:00 
			
		
		
		
	Appease pedants
This commit is contained in:
		
							parent
							
								
									d0c8c3e5b0
								
							
						
					
					
						commit
						2705b0af4c
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		|  | @ -453,7 +453,7 @@ func (cli *Client) SendText(roomID, text string) (*RespSendEvent, error) { | |||
| // SendFile sends an m.room.message event into the given room with a msgtype of m.file | ||||
| // See https://matrix.org/docs/spec/client_server/r0.2.0.html#m-file | ||||
| // FIXME add thumbnail support | ||||
| func (cli *Client) SendFile(roomID, body, url, filename string, info FileInfo, thumb_info, thumb_url interface{}) (*RespSendEvent, error) { | ||||
| func (cli *Client) SendFile(roomID, body, url, filename string, info FileInfo, thumbInfo, thumbURL interface{}) (*RespSendEvent, error) { | ||||
| 	return cli.SendMessageEvent(roomID, "m.room.message", | ||||
| 		FileMessage{ | ||||
| 			MsgType:  "m.file", | ||||
|  |  | |||
|  | @ -163,6 +163,7 @@ type RespSync struct { | |||
| 	} `json:"rooms"` | ||||
| } | ||||
| 
 | ||||
| // LOL what lol could lol this lol do ? | ||||
| type RespTurnServer struct { | ||||
| 	Username string   `json:"username"` | ||||
| 	Password string   `json:"password"` | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue