This commit is contained in:
Bohdan Horbeshko 2022-03-09 14:16:13 -05:00
parent 699d75552a
commit 1b291e55e5

View file

@ -377,9 +377,9 @@ func (c *Client) ProcessTransportCommand(cmdline string, resource string) string
text := rawCmdArguments(cmdline, 1) text := rawCmdArguments(cmdline, 1)
_, err = c.client.ReportChat(&client.ReportChatRequest{ _, err = c.client.ReportChat(&client.ReportChatRequest{
ChatId: contact.Id, ChatId: contact.Id,
Reason: &client.ChatReportReasonCustom{}, Reason: &client.ChatReportReasonCustom{},
Text: text, Text: text,
}) })
if err != nil { if err != nil {
return err.Error() return err.Error()