Closed hloeung closed 3 years ago
It works for channel, but I can't seem to get it to work for DMs. I think I need to use u.MsgSpoofUser with the receiver / sender thingy like in mm-go-irckit/userbridge.go:
if event.Sender.Me {
if event.Receiver.Me {
u.MsgSpoofUser(u, u.Nick, event.Text)
} else {
u.MsgSpoofUser(u, event.Receiver.Nick, event.Text)
}
@42wim, what do you think?
Okay, got something that works for both channel and DM/query.
very nice 👍
Rather than show as being from the "mattermost" user or in the "mattermost" query window, this shows scrollback text in the same window as the one we're requesting scrollback for. Fixes https://github.com/42wim/matterircd/issues/391