mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-18 05:15:06 +00:00
Add forwarding, friend controls, and benefits
Add message forwarding and reply lookup, friend removal and blocking endpoints, and database-backed Govor+ privileges with customizable profile tags. Include migrations, integration tests, and updated API and operations documentation.
This commit is contained in:
@@ -40,7 +40,10 @@ public class ChatPushDispatcher(GovorDbContext context, IChatNotificationService
|
||||
{
|
||||
MessageId = m.Id, SenderId = m.SenderId, RecipientId = m.RecipientId,
|
||||
RecipientType = m.RecipientType, EncryptedContent = m.EncryptedContent,
|
||||
SentAt = m.SentAt, ReplyToMessageId = m.ReplyToMessageId
|
||||
SentAt = m.SentAt, ReplyToMessageId = m.ReplyToMessageId,
|
||||
ForwardedFromMessageId = m.ForwardedFromMessageId,
|
||||
ForwardedFromUserId = m.ForwardedFromUserId,
|
||||
ForwardedFromSentAt = m.ForwardedFromSentAt
|
||||
}).FirstOrDefaultAsync(cancellationToken);
|
||||
delivered = message is null || await notifier.DeliverPushAsync(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user