Open kot0dama opened 12 months ago
Yeah, I think it's these bits of code:
https://github.com/42wim/matterircd/blame/master/mm-go-irckit/service.go#L122
https://github.com/42wim/matterircd/blame/master/mm-go-irckit/service.go#L147
So if either of DefaultServer
or DefaultTeam
, IIUC, they will be used instead of what team and server args are provided. I'll work on a fix when I get some spare cycles.
Hi,
When using a matterircd instance for connecting to multiple Mattermost servers, if there is a
DefaultServer
in the configuration, it is impossible to connect to any other server even though they're listed inRestrict
.Is
DefaultServer
actually a forced server option? Or is it a way to define the default server when the user does not specify a specific server to log into in the mattermost /msg?Steps to reproduce
/msg mattermost login chat.charmhub.io charmhub username token=....
This yields:
Thank you!