mirror of
https://github.com/SWG-Source/stationapi.git
synced 2026-07-31 00:15:56 -04:00
When sending RoomMessages, exclude the id's for any avatar's that may be ignoring the sender
This commit is contained in:
@@ -210,7 +210,7 @@ void GatewayClient::SendRoomMessageUpdate(const ChatAvatar* srcAvatar, const Cha
|
||||
uint32_t messageId, const std::u16string& message, const std::u16string& oob) {
|
||||
auto connectedAddresses = room->GetConnectedAddresses();
|
||||
for (auto& address : connectedAddresses) {
|
||||
node_->SendTo(address, MRoomMessage{srcAvatar, room->GetRoomId(), room->GetAvatarIds(),
|
||||
node_->SendTo(address, MRoomMessage{srcAvatar, room->GetRoomId(), room->GetAvatarIds(srcAvatar),
|
||||
message, oob, messageId});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user