aboutsummaryrefslogtreecommitdiff
path: root/connector/connector.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-03-09 18:02:13 +0100
committerAlex Auvolat <alex@adnab.me>2020-03-09 18:02:13 +0100
commit7c39436eda59efb033d172dfa03af3782f0acacf (patch)
tree907549515b8dc61dd55fa728a8620b3c92fd8c0a /connector/connector.go
parentf9e0c58f3c0e90b987b7763f020ea5dcbf366779 (diff)
downloadeasybridge-7c39436eda59efb033d172dfa03af3782f0acacf.tar.gz
easybridge-7c39436eda59efb033d172dfa03af3782f0acacf.zip
Save client pickle automatically (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 c2edda4..fd49c7e 100644
--- a/connector/connector.go
+++ b/connector/connector.go
@@ -76,6 +76,9 @@ type Connector interface {
}
type Handler interface {
+ // Called to save updated configuration parameters
+ SaveConfig(config Configuration)
+
// Called when a room was joined (automatically or by call to Connector.Join)
Joined(roomId RoomID)