Fix notification timestamp
This commit is contained in:
parent
40ca943184
commit
cb56c459c5
|
@ -442,6 +442,7 @@ func (svc *service) ServeNotificationPage(ctx context.Context, client io.Writer,
|
||||||
var unreadCount int
|
var unreadCount int
|
||||||
for i := range notifications {
|
for i := range notifications {
|
||||||
if notifications[i].Status != nil {
|
if notifications[i].Status != nil {
|
||||||
|
notifications[i].Status.CreatedAt = notifications[i].CreatedAt
|
||||||
notifications[i].Status.MaskNSFW = c.Session.Settings.MaskNSFW
|
notifications[i].Status.MaskNSFW = c.Session.Settings.MaskNSFW
|
||||||
switch notifications[i].Type {
|
switch notifications[i].Type {
|
||||||
case "reblog", "favourite":
|
case "reblog", "favourite":
|
||||||
|
|
Loading…
Reference in New Issue