mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 12:49:21 +02:00
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
|
||||
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":
|
||||
|
|
Loading…
Reference in New Issue