diff options
-rw-r--r-- | mumi/web/view/html.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mumi/web/view/html.scm b/mumi/web/view/html.scm index 4af8d5f..ad2888c 100644 --- a/mumi/web/view/html.scm +++ b/mumi/web/view/html.scm @@ -1,6 +1,6 @@ ;;; mumi -- Mediocre, uh, mail interface ;;; Copyright © 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net> -;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net> +;;; Copyright © 2018, 2019 Arun Isaac <arunisaac@systemreboot.net> ;;; ;;; This program is free software: you can redistribute it and/or ;;; modify it under the terms of the GNU Affero General Public License @@ -281,8 +281,9 @@ range. The supported arguments are the same as for " (a (@ (href ,(string-append "#" (number->string message-number)))) ,(date->string (date message))))) - ,@(if (string-suffix? (or previous-subject "") - (or (subject message) "")) + ,@(if (or (string-suffix? (or previous-subject "") + (or (subject message) "")) + (not (subject message))) '() `((div (@ (class "subject")) ,(subject message)))) (div |