[PR #110] [MERGED] Add permission definitions for mentioning everyone, online, and roles #111

Closed
opened 2026-02-16 12:27:03 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: main


📝 Commits (1)

  • e2d59eb Add 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 << 38

For 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.

  • I understand and have followed the contribution guide
  • I have tested my changes locally and they are working as intended

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stoatchat/javascript-client-sdk/pull/110 **Author:** [@DeclanChidlow](https://github.com/DeclanChidlow) **Created:** 2/9/2025 **Status:** ✅ Merged **Merged:** 4/25/2025 **Merged by:** [@insertish](https://github.com/insertish) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`e2d59eb`](https://github.com/stoatchat/javascript-client-sdk/commit/e2d59eb3ec9e673355682e9a847dba848af38211) Add permission definitions for mentioning everyone, online, and roles ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/permissions/definitions.ts` (+7 -1) </details> ### 📄 Description Adds: - `MentionEveryone = 1 << 37` (@ everyone / @ online ) - `MentionRoles = 1 << 38` For 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. - [X] I understand and have followed the [contribution guide](https://github.com/revoltchat/.github/blob/master/.github/CONTRIBUTING.md) - [X] I have tested my changes locally and they are working as intended --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 12:27:03 -05:00
yindo closed this issue 2026-02-16 12:27:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/javascript-client-sdk#111