aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-10 03:56:46 +0000
committerr <r@freesoftwareextremist.com>2020-01-10 03:56:46 +0000
commitcb56c459c53ec31fb1d73b56a485b96dbf9e1013 (patch)
tree20bf1d24bc818989ecc6a090f66a4f01958ef58c /service
parent40ca943184edd8c17b6f5c6f4df10439a7db6d61 (diff)
downloadbloat-cb56c459c53ec31fb1d73b56a485b96dbf9e1013.tar.gz
bloat-cb56c459c53ec31fb1d73b56a485b96dbf9e1013.zip
Fix notification timestamp
Diffstat (limited to 'service')
-rw-r--r--service/service.go1
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":