Skip to content

Commit

Permalink
Fixed chat messages
Browse files Browse the repository at this point in the history
Haxxer committed Aug 20, 2024
1 parent da87dbd commit 18a8d06
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@
- Fixed custom categories not being applied to items when created through merchant populate items
- Fixed item piles sometimes resetting their item pile flags when first created
- Fixed versions of D&D5e 3.2.0 and onwards keeping item attunement when transferred between actors, will now clear attunement properly
- Fixed chat messages not showing up properly when setting configured to be private or blind

## Version 3.0.9

4 changes: 3 additions & 1 deletion src/API/chat-api.js
Original file line number Diff line number Diff line change
@@ -650,7 +650,9 @@ export default class ChatAPI {
chatData.type = ChatAPI.CHAT_MESSAGE_STYLES.WHISPER;
}

} else if (chatData.whisper.length) {
}

if (chatData.whisper.length) {
chatData.whisper = Array.from(new Set(chatData.whisper));
}

0 comments on commit 18a8d06

Please sign in to comment.