From 3c6ebc2bfd50b72ff786a2cfd3bbdeb15b478dd3 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 13 Nov 2022 12:31:38 +0100 Subject: core: bubble up the comment ID when created, or edited the first comment --- termui/termui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'termui/termui.go') diff --git a/termui/termui.go b/termui/termui.go index 15476d89..4dd6e27d 100644 --- a/termui/termui.go +++ b/termui/termui.go @@ -239,7 +239,7 @@ func addCommentWithEditor(bug *cache.BugCache) error { if err == input.ErrEmptyMessage { ui.msgPopup.Activate(msgPopupErrorTitle, "Empty message, aborting.") } else { - _, err := bug.AddComment(text.Cleanup(message)) + _, _, err := bug.AddComment(text.Cleanup(message)) if err != nil { return err } -- cgit