mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-25 12:11:35 +00:00
Fix roomid bug (gitter)
This commit is contained in:
parent
e05a323afd
commit
c30ffeb81e
@ -58,8 +58,9 @@ func (b *Bgitter) JoinChannel(channel string) error {
|
|||||||
}
|
}
|
||||||
room, err := b.c.GetRoom(roomID)
|
room, err := b.c.GetRoom(roomID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
b.Rooms = append(b.Rooms, *room)
|
return err
|
||||||
}
|
}
|
||||||
|
b.Rooms = append(b.Rooms, *room)
|
||||||
user, err := b.c.GetUser()
|
user, err := b.c.GetUser()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user