commit 921b28bb12f9d00a5563e78a1ec2b61d61b0b9b7
parent dddeab9c4503eae1ad2107ece00089e06a3a1e44
Author: Peter Kosyh <p.kosyh@gmail.com>
Date: Thu, 10 Sep 2020 09:34:43 +0300
Echo name while edit msg
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ii-node/web.go b/ii-node/web.go
@@ -644,6 +644,7 @@ func www_reply(ctx *WebContext, w http.ResponseWriter, r *http.Request, quote bo
msg.Text = ""
}
ctx.Msg = append(ctx.Msg, &msg)
+ ctx.Echo = msg.Echo
ctx.Template = "reply.tpl"
err := ctx.www.tpl.ExecuteTemplate(w, "reply.tpl", ctx)
return err