Skip to content

Commit

Permalink
Fix roomid bug (gitter)
Browse files Browse the repository at this point in the history
  • Loading branch information
42wim committed Mar 18, 2017
1 parent e05a323 commit c30ffeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bridge/gitter/gitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ func (b *Bgitter) JoinChannel(channel string) error {
}
room, err := b.c.GetRoom(roomID)
if err != nil {
b.Rooms = append(b.Rooms, *room)
return err
}
b.Rooms = append(b.Rooms, *room)
user, err := b.c.GetUser()
if err != nil {
return err
Expand Down

0 comments on commit c30ffeb

Please sign in to comment.