From 6b11020a672e32ff06e02d2ee9031bdd231cdef5 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Sat, 20 Aug 2022 19:57:16 +0530 Subject: [PATCH] Fix empty subject on non-tpl tx subject. Closes #898. --- models/models.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/models.go b/models/models.go index 3a789b3a2..f3bc07213 100644 --- a/models/models.go +++ b/models/models.go @@ -600,6 +600,8 @@ func (m *TxMessage) Render(sub Subscriber, tpl *Template) error { } m.Subject = b.String() b.Reset() + } else { + m.Subject = tpl.Subject } return nil