summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-13 09:14:39 -0500
committerBen Sima <ben@bensima.com>2025-12-13 09:14:39 -0500
commited629a3335c6c5a172322a8d7387f0c6990b0ae5 (patch)
treec2c1676ad1593143c12a082f723f46af5a3a67c2 /default.nix
parent5ba051535138630b333657a6540728a9148c766a (diff)
feat: only allow whitelisted users to add bot to groups
When the bot is added to a group, check if the user who added it is in the whitelist. If not, send a message explaining and leave the group immediately. This prevents unauthorized users from bypassing DM access controls by adding the bot to a group.
Diffstat (limited to 'default.nix')
0 files changed, 0 insertions, 0 deletions