Update to latest gomatrix. Things are broken
This commit is contained in:
@ -33,14 +33,14 @@ type MatrixContainer interface {
|
||||
Logout()
|
||||
|
||||
SendPreferencesToMatrix()
|
||||
SendMessage(roomID, msgtype, message string) (string, error)
|
||||
SendMarkdownMessage(roomID, msgtype, message string) (string, error)
|
||||
SendMessage(roomID string, msgtype gomatrix.MessageType, message string) (string, error)
|
||||
SendMarkdownMessage(roomID string, msgtype gomatrix.MessageType, message string) (string, error)
|
||||
SendTyping(roomID string, typing bool)
|
||||
MarkRead(roomID, eventID string)
|
||||
JoinRoom(roomID, server string) (*rooms.Room, error)
|
||||
LeaveRoom(roomID string) error
|
||||
|
||||
GetHistory(roomID, prevBatch string, limit int) ([]gomatrix.Event, string, error)
|
||||
GetHistory(roomID, prevBatch string, limit int) ([]*gomatrix.Event, string, error)
|
||||
GetRoom(roomID string) *rooms.Room
|
||||
|
||||
Download(mxcURL string) ([]byte, string, string, error)
|
||||
|
@ -73,8 +73,8 @@ type RoomView interface {
|
||||
SetTyping(users []string)
|
||||
UpdateUserList()
|
||||
|
||||
NewMessage(id, sender, msgtype, text string, timestamp time.Time) Message
|
||||
NewTempMessage(msgtype, text string) Message
|
||||
NewMessage(id, sender string, msgtype gomatrix.MessageType, text string, timestamp time.Time) Message
|
||||
NewTempMessage(msgtype gomatrix.MessageType, text string) Message
|
||||
AddMessage(message Message, direction MessageDirection)
|
||||
AddServiceMessage(message string)
|
||||
}
|
||||
@ -111,8 +111,8 @@ type Message interface {
|
||||
SetID(id string)
|
||||
ID() string
|
||||
|
||||
SetType(msgtype string)
|
||||
Type() string
|
||||
SetType(msgtype gomatrix.MessageType)
|
||||
Type() gomatrix.MessageType
|
||||
|
||||
NotificationContent() string
|
||||
|
||||
|
Reference in New Issue
Block a user