Fix notification timestamp
authorr <r@freesoftwareextremist.com>
Fri, 10 Jan 2020 03:56:46 +0000 (03:56 +0000)
committerr <r@freesoftwareextremist.com>
Fri, 10 Jan 2020 03:56:46 +0000 (03:56 +0000)
service/service.go

index 08adf72c261d14463d1f58e190970c222917dc8c..f43c463f55e57aabb2f7871e2fccf2b88544bcff 100644 (file)
@@ -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":