diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/service.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/service/service.go b/service/service.go index 0ef8f09..fbf617a 100644 --- a/service/service.go +++ b/service/service.go @@ -490,13 +490,6 @@ func (svc *service) ServeNotificationPage(ctx context.Context, c *model.Client, } for i := range notifications { - if notifications[i].Status != nil { - notifications[i].Status.CreatedAt = notifications[i].CreatedAt - switch notifications[i].Type { - case "reblog", "favourite": - notifications[i].Status.HideAccountInfo = true - } - } if notifications[i].Pleroma != nil && !notifications[i].Pleroma.IsSeen { unreadCount++ } |