Skip to content

Commit

Permalink
VM-1483: entity type in new message method
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-buravlev committed Oct 25, 2024
1 parent 8b852d4 commit 0771dd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public virtual async Task<Unit> Handle(SendMessageCommand request, CancellationT
message.SenderId = request.Message.SenderId ?? (await GetOrCreateCommunicationUserForSeller(request.SellerId)).Id;
message.Content = request.Message.Content;
message.EntityId = request.Message.EntityId;
message.EntityId = request.Message.EntityType;
message.EntityType = request.Message.EntityType;
message.ThreadId = request.Message.ReplyTo;

var messageRecipient = AbstractTypeFactory<MessageRecipient>.TryCreateInstance();
Expand Down

0 comments on commit 0771dd6

Please sign in to comment.