Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 678a909432e335d5ee12e7b28e0bc49aeaf761d9 Author: Wim <wim@42.be> Date: Thu Sep 01 00:15:48 2016 +0000 Get correct teamname for non-joined channels. Closes 42wim/matterircd#65 diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index f3e188a..0ee8fff 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -5236 +5237 @@ func (m *MMClient) GetTeamFromChannel(channelId string) string {   var channels []*model.Channel   for _, t := range m.OtherTeams {   channels = append(channels, t.Channels.Channels...) + channels = append(channels, t.MoreChannels.Channels...)   for _, c := range channels {   if c.Id == channelId {   return t.Id