Refactor the /members command

This commit is contained in:
Bohdan Horbeshko 2022-01-31 22:23:37 -05:00
parent 86b736ec0d
commit de31fa0ad2

View file

@ -717,12 +717,7 @@ func (c *Client) ProcessChatCommand(chatID int64, cmdline string) (string, bool)
)) ))
} }
gateway.SendMessage( return strings.Join(entries, "\n"), true
c.jid,
strconv.FormatInt(chatID, 10),
strings.Join(entries, "\n"),
c.xmpp,
)
case "help": case "help":
return helpString(helpTypeChat), true return helpString(helpTypeChat), true
default: default: