Skip to content

Commit

Permalink
Add targetId for setTalkWhisper
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmit799 committed Apr 9, 2024
1 parent a5ab6d9 commit a844e0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/clientagent/client_participant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,10 @@ void ClientParticipant::HandleClientObjectUpdateField(DatagramIterator &dgi) {
STATESERVER_OBJECT_SET_FIELD);
dg->AddUint32(chatShim);
dg->AddUint16(chatField->get_number());
// For whisper messages, add the target DoId (receiver.)
if (field->get_name() == "setTalkWhisper") {
dg->AddUint32(doId);
}
dg->AddData(data);
PublishDatagram(dg);
return;
Expand Down

0 comments on commit a844e0c

Please sign in to comment.