aboutsummaryrefslogtreecommitdiff
path: root/connector/connector.go
diff options
context:
space:
mode:
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 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)