mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-12-23 03:43:38 +02:00
Fix notification timestamp
This commit is contained in:
parent
40ca943184
commit
cb56c459c5
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue