Fix compatibility with conduit/conduwuit

This commit is contained in:
Chloe Fontenot 2024-12-10 23:42:18 -06:00
parent c4157a4d5b
commit a1f7c9b208

View File

@ -127,7 +127,7 @@ func (b *Bmatrix) Disconnect() error {
func (b *Bmatrix) JoinChannel(channel config.ChannelInfo) error {
return b.retry(func() error {
resp, err := b.mc.JoinRoom(channel.Name, "", nil)
resp, err := b.mc.JoinRoom(channel.Name, "", struct{}{})
if err != nil {
return err
}