Remove compatability code that isn't required

This commit is contained in:
Oliver 2026-01-11 13:25:11 -07:00
parent 47e5eab951
commit afb909a8a2
2 changed files with 2 additions and 16 deletions

View file

@ -2,7 +2,7 @@ import { localizer } from "../../utils/localizer.mjs";
import { respondedToQueries } from "../../utils/QueryManager.mjs";
export function queryNotify(payload, sender) {
const { id, userID, content, includeGM, includeRequestor } = payload;
const { id, userID, content, includeRequestor } = payload;
if (userID !== game.user.id) { return };
@ -11,11 +11,6 @@ export function queryNotify(payload, sender) {
let whisper = [game.user.id];
// TODO: remove this code with #19
if (includeGM) {
whisper = game.users.filter(u => u.isGM).map(u => u.id);
};
if (includeRequestor) {
whisper = [sender.id];
};