This commit is contained in:
parent
6cd3ff1b64
commit
aa623ff1c4
@ -233,6 +233,7 @@ func (r *mutationResolver) CreateChat(ctx context.Context, userID int) (*ChatSes
|
||||
emptyMessage := &domain.Message{
|
||||
ChatID: chat.ID,
|
||||
SenderID: currentUserID,
|
||||
ReceiverID: otherUser.ID,
|
||||
Content: "Чат создан",
|
||||
Status: "system",
|
||||
CreatedAt: time.Now(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user