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)
_, err = c.client.ReportChat(&client.ReportChatRequest{
ChatId: contact.Id,
Reason: &client.ChatReportReasonCustom{},
Text: text,
ChatId: contact.Id,
Reason: &client.ChatReportReasonCustom{},
Text: text,
})
if err != nil {
return err.Error()