diff options
author | msglm <msglm@techchud.xyz> | 2023-10-27 07:08:25 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2023-10-27 07:08:25 -0500 |
commit | 032a7e0c1188d3507b8d9a9571f2446a43cf775b (patch) | |
tree | 2bd38c01bc7761a6195e426082ce7191ebc765a1 /bridge/bridge.go | |
parent | 56e7bd01ca09ad52b0c4f48f146a20a4f1b78696 (diff) | |
download | matterbridge-msglm-1.26.0+0.1.0.tar.gz matterbridge-msglm-1.26.0+0.1.0.tar.bz2 matterbridge-msglm-1.26.0+0.1.0.zip |
apply https://github.com/42wim/matterbridge/pull/1864v1.26.0+0.1.0
Diffstat (limited to 'bridge/bridge.go')
-rw-r--r-- | bridge/bridge.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bridge/bridge.go b/bridge/bridge.go index ef71f97e..74afcbee 100644 --- a/bridge/bridge.go +++ b/bridge/bridge.go @@ -17,6 +17,12 @@ type Bridger interface { Disconnect() error } +// additional methods for bridges that are not started when Connect() is called, +// because we must join the channels prior to starting processing events +type BridgerWithChannelDependency interface { + Start() error +} + type Bridge struct { Bridger *sync.RWMutex |