From f93fe3276607039a5d09fa83b17c8f353b19ce86 Mon Sep 17 00:00:00 2001 From: r Date: Wed, 29 Jan 2020 18:14:27 +0000 Subject: Update notification layout --- service/service.go | 7 ------- 1 file changed, 7 deletions(-) (limited to 'service') 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++ } -- cgit v1.2.3