diff --git a/go/chat/server.go b/go/chat/server.go index dfe8cd3dc822..5eddb2c1c500 100644 --- a/go/chat/server.go +++ b/go/chat/server.go @@ -1101,11 +1101,9 @@ func (h *Server) PostLocalNonblock(ctx context.Context, arg chat1.PostLocalNonbl } // Clear draft - go func(ctx context.Context) { - if err := h.G().InboxSource.Draft(ctx, uid, arg.ConversationID, nil); err != nil { - h.Debug(ctx, "PostLocalNonblock: failed to clear draft: %s", err) - } - }(globals.BackgroundChatCtx(ctx, h.G())) + if err := h.G().InboxSource.Draft(ctx, uid, arg.ConversationID, nil); err != nil { + h.Debug(ctx, "PostLocalNonblock: failed to clear draft: %s", err) + } // Check for any slash command hits for an execute if handled, err := h.G().CommandsSource.AttemptBuiltinCommand(ctx, uid, arg.ConversationID,