[backend/core] Correctly populate the note field in renote notifications
This commit is contained in:
parent
bcf9210764
commit
c5d723c99e
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ public class NotificationService(
|
|||
{
|
||||
Id = IdHelpers.GenerateSlowflakeId(),
|
||||
CreatedAt = DateTime.UtcNow,
|
||||
Note = note,
|
||||
Note = note.IsQuote ? note : note.Renote,
|
||||
Notifiee = note.Renote.User,
|
||||
Notifier = note.User,
|
||||
Type = note.IsQuote ? Notification.NotificationType.Quote : Notification.NotificationType.Renote
|
||||
|
|
Loading…
Add table
Reference in a new issue