diff options
author | r <r@freesoftwareextremist.com> | 2020-01-10 03:56:46 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-01-10 03:56:46 +0000 |
commit | cb56c459c53ec31fb1d73b56a485b96dbf9e1013 (patch) | |
tree | 20bf1d24bc818989ecc6a090f66a4f01958ef58c | |
parent | 40ca943184edd8c17b6f5c6f4df10439a7db6d61 (diff) | |
download | bloat-cb56c459c53ec31fb1d73b56a485b96dbf9e1013.tar.gz bloat-cb56c459c53ec31fb1d73b56a485b96dbf9e1013.zip |
Fix notification timestamp
-rw-r--r-- | service/service.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/service.go b/service/service.go index 08adf72..f43c463 100644 --- a/service/service.go +++ b/service/service.go @@ -442,6 +442,7 @@ func (svc *service) ServeNotificationPage(ctx context.Context, client io.Writer, var unreadCount int for i := range notifications { if notifications[i].Status != nil { + notifications[i].Status.CreatedAt = notifications[i].CreatedAt notifications[i].Status.MaskNSFW = c.Session.Settings.MaskNSFW switch notifications[i].Type { case "reblog", "favourite": |