v0.0.17.4
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
madipo2611 2025-08-11 21:35:26 +03:00
parent 6cd3ff1b64
commit aa623ff1c4

View File

@ -233,6 +233,7 @@ func (r *mutationResolver) CreateChat(ctx context.Context, userID int) (*ChatSes
emptyMessage := &domain.Message{ emptyMessage := &domain.Message{
ChatID: chat.ID, ChatID: chat.ID,
SenderID: currentUserID, SenderID: currentUserID,
ReceiverID: otherUser.ID,
Content: "Чат создан", Content: "Чат создан",
Status: "system", Status: "system",
CreatedAt: time.Now(), CreatedAt: time.Now(),