v11.2.2 - Les tendres moments d'Akarlikarlikar #685

Merged
uberwald merged 15 commits from VincentVk/foundryvtt-reve-de-dragon:v11 into v11 2023-11-24 08:51:06 +01:00
Showing only changes of commit 135546467d - Show all commits

View File

@ -118,9 +118,10 @@ export class ChatUtility {
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
static getWhisperRecipientsAndGMs(name) { static getWhisperRecipientsAndGMs(...names) {
let recep1 = ChatMessage.getWhisperRecipients(name) || []; let recipients = [...ChatMessage.getWhisperRecipients('GM')]
return recep1.concat(ChatMessage.getWhisperRecipients('GM')); names.forEach(name => recipients.push(...ChatMessage.getWhisperRecipients(name)))
return recipients
} }
/* -------------------------------------------- */ /* -------------------------------------------- */