aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
Diffstat (limited to 'interface')
-rw-r--r--interface/matrix.go1
-rw-r--r--interface/ui.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/interface/matrix.go b/interface/matrix.go
index 111a2b0..08b3d61 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -32,6 +32,7 @@ type MatrixContainer interface {
Login(user, password string) error
Logout()
+ SendPreferencesToMatrix()
SendMessage(roomID, msgtype, message string) (string, error)
SendMarkdownMessage(roomID, msgtype, message string) (string, error)
SendTyping(roomID string, typing bool)
diff --git a/interface/ui.go b/interface/ui.go
index 7e181d8..b106229 100644
--- a/interface/ui.go
+++ b/interface/ui.go
@@ -29,6 +29,7 @@ type UIProvider func(gmx Gomuks) GomuksUI
type GomuksUI interface {
Render()
+ HandleNewPreferences()
OnLogin()
OnLogout()
MainView() MainView