mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-26 06:39: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
|
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