diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-16 16:41:13 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-16 16:41:13 +0100 |
commit | b7f0776784b6e5fe0f0a028c2913f58e995afa73 (patch) | |
tree | 4a0c92199c5b313847954f685d61a93bb6463aed /connector/connector.go | |
parent | ec67a610e3062d3e60891332f33ace4ad5a448bd (diff) | |
download | easybridge-b7f0776784b6e5fe0f0a028c2913f58e995afa73.tar.gz easybridge-b7f0776784b6e5fe0f0a028c2913f58e995afa73.zip |
Invitations, closing before configure, etc
Diffstat (limited to 'connector/connector.go')
-rw-r--r-- | connector/connector.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/connector/connector.go b/connector/connector.go index 2116bb5..9894bfc 100644 --- a/connector/connector.go +++ b/connector/connector.go @@ -48,6 +48,9 @@ type Connector interface { // If no error happens, it must fire a Handler.Joined event Join(roomId RoomID) error + // Try to invite someone to a channel + Invite(user UserID, roomId RoomID) error + // Leave a channel Leave(roomId RoomID) |