mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-20 01:23:33 -04:00
[PR #110] [MERGED] Add permission definitions for mentioning everyone, online, and roles #111
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/javascript-client-sdk/pull/110
Author: @DeclanChidlow
Created: 2/9/2025
Status: ✅ Merged
Merged: 4/25/2025
Merged by: @insertish
Base:
main← Head:main📝 Commits (1)
e2d59ebAdd permission definitions for mentioning everyone, online, and roles📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
src/permissions/definitions.ts(+7 -1)📄 Description
Adds:
MentionEveryone = 1 << 37(@ everyone / @ online )MentionRoles = 1 << 38For and dependent on https://github.com/revoltchat/backend/pull/394.
Will likely need backport to v6 so it can be used in Revite. Will advise.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.