;;; 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
(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