From cc5f11a9e3dfb7f02fe0d9a206dec025168edee5 Mon Sep 17 00:00:00 2001 From: Haw Loeung Date: Sun, 10 Sep 2023 12:24:17 +1000 Subject: [PATCH] Fix per review renaming getChannelName() to getMattermostChannelName() --- mm-go-irckit/service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm-go-irckit/service.go b/mm-go-irckit/service.go index 654836e5..8f720e66 100644 --- a/mm-go-irckit/service.go +++ b/mm-go-irckit/service.go @@ -272,7 +272,7 @@ func searchUsers(u *User, toUser *User, args []string, service string) { } } -func getChannelName(u *User, channelID string) string { +func getMattermostChannelName(u *User, channelID string) string { channelName := u.br.GetChannelName(channelID) channelMembers := strings.Split(channelName, "__") @@ -378,7 +378,7 @@ func scrollback(u *User, toUser *User, args []string, service string) { if searchPostID != "" && channelID == "" { channelID = p.ChannelId - search = getChannelName(u, p.ChannelId) + search = getMattermostChannelName(u, p.ChannelId) if !strings.HasPrefix(search, "#") { user := u.br.GetUser(search) search = user.Nick