mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 04:07:07 +00:00
Refactor the /members command
This commit is contained in:
parent
86b736ec0d
commit
de31fa0ad2
1 changed files with 1 additions and 6 deletions
|
|
@ -717,12 +717,7 @@ func (c *Client) ProcessChatCommand(chatID int64, cmdline string) (string, bool)
|
|||
))
|
||||
}
|
||||
|
||||
gateway.SendMessage(
|
||||
c.jid,
|
||||
strconv.FormatInt(chatID, 10),
|
||||
strings.Join(entries, "\n"),
|
||||
c.xmpp,
|
||||
)
|
||||
return strings.Join(entries, "\n"), true
|
||||
case "help":
|
||||
return helpString(helpTypeChat), true
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue