diff options
Diffstat (limited to 'interface/ui.go')
-rw-r--r-- | interface/ui.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/interface/ui.go b/interface/ui.go index b106229..929dc65 100644 --- a/interface/ui.go +++ b/interface/ui.go @@ -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 |