aboutsummaryrefslogtreecommitdiff
path: root/connector/connector.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-05-04 18:36:55 +0200
committerAlex Auvolat <alex@adnab.me>2020-05-04 18:36:55 +0200
commitaa6c5628e9b48303826ee0fa5fbb826e2c6cf54f (patch)
tree22ac40893f06ce91f0755844a4e70197925a5da5 /connector/connector.go
parent1d54a50c31cb788bf786397ea5664bd02bfe36fb (diff)
downloadeasybridge-aa6c5628e9b48303826ee0fa5fbb826e2c6cf54f.tar.gz
easybridge-aa6c5628e9b48303826ee0fa5fbb826e2c6cf54f.zip
Notify user of stuff going on in backends (not done for FB Messenger)
Diffstat (limited to 'connector/connector.go')
-rw-r--r--connector/connector.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/connector/connector.go b/connector/connector.go
index fd49c7e..55e0e34 100644
--- a/connector/connector.go
+++ b/connector/connector.go
@@ -79,6 +79,9 @@ type Handler interface {
// Called to save updated configuration parameters
SaveConfig(config Configuration)
+ // Called to notify user of stuff going on
+ SystemMessage(message string)
+
// Called when a room was joined (automatically or by call to Connector.Join)
Joined(roomId RoomID)