Appease pedants

This commit is contained in:
Donomii 2017-07-15 17:56:12 +02:00
parent d0c8c3e5b0
commit 2705b0af4c
2 changed files with 2 additions and 1 deletions

View File

@ -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",

View 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"`