Fix build error #51
|
|
@ -40,7 +40,7 @@ func NewUpdateHandler(ipc *types.InternalProviderControl) *UpdateHandler {
|
|||
|
||||
// TODO: вызывается только после обновлений
|
||||
//go handler.broadcastBotUpdated()
|
||||
go handler.sendNewSupportContactNotification()
|
||||
//go handler.sendNewSupportContactNotification()
|
||||
|
||||
return handler
|
||||
}
|
||||
|
|
|
|||
|
|
@ -267,7 +267,7 @@ func (h *Handler) finalizeAndSubmit(bot *tgbotapi.BotAPI, ctx context.Context, c
|
|||
if approval.Status != nil {
|
||||
approvalStatus = *approval.Status
|
||||
}
|
||||
msgChat.ReplyMarkup = keyboard.BuildInitiatorCard(*approval.ID, approvalStatus, len(approval.Files) > 0, len(approval.Files))
|
||||
msgChat.ReplyMarkup = keyboard.BuildInitiatorCard(*approval.ID, approvalStatus, len(approval.Files) > 0, len(approval.Files), h.GetCommentsCount(ctx, *approval.ID))
|
||||
|
||||
bot.Send(msgChat) //nolint:errcheck
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue