commit 589d0e597dae11295f31e7b89cc97688de668e96
parent c99ceb5bd7e7796bd436d256c01d6677b422212e
Author: Peter Kosyh <p.kosyh@gmail.com>
Date: Sat, 30 Jan 2021 15:19:56 +0000
Merge branch 'master' of https://github.com/gl00my/ii-go
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/ii-node/web.go b/ii-node/web.go
@@ -861,6 +861,9 @@ func WebInit(www *WWW) {
},
"repto": func(m ii.Msg) string {
r, _ := m.Tag("repto")
+ if r == "" {
+ return m.MsgId
+ }
return r
},
"msg_quote": msg_quote,