aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-29 18:14:27 +0000
committerr <r@freesoftwareextremist.com>2020-01-29 18:14:27 +0000
commitf93fe3276607039a5d09fa83b17c8f353b19ce86 (patch)
treedf7daa8355087b68aad53516e51472b924a737bb /service
parent2c084dfd097da448a830a8e017af0175209259ab (diff)
downloadbloat-f93fe3276607039a5d09fa83b17c8f353b19ce86.tar.gz
bloat-f93fe3276607039a5d09fa83b17c8f353b19ce86.zip
Update notification layout
Diffstat (limited to 'service')
-rw-r--r--service/service.go7
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++
}