Fix notification timestamp

This commit is contained in:
r 2020-01-10 03:56:46 +00:00
parent 40ca943184
commit cb56c459c5
1 changed files with 1 additions and 0 deletions

View 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":