Closed hloeung closed 3 years ago
Good idea, but on matterbridge where I also used system in one of the bridges I got people complaining that system could be a real nick.. I'm not sure if mattermost allows this nick though.
The "system" user is reserved per https://github.com/mattermost/mattermost-server/blob/master/model/user.go#L875 :
var restrictedUsernames = map[string]struct{}{
"all": {},
"channel": {},
"matterbot": {},
"system": {},
}
We're also already using it for channel joins in https://github.com/42wim/matterircd/blob/master/bridge/mattermost/mattermost.go#L1059
Rather than this:
We get this:
This better matches with what's shown via the Mattermost web UI:
As well as when users are added or removed from channels per https://github.com/42wim/matterircd/blob/master/mm-go-irckit/userbridge.go#L187 :