summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorErkin Alp Güney <erkinalp9035@gmail.com>2022-06-26 14:20:34 +0300
committerGitHub <noreply@github.com>2022-06-26 14:20:34 +0300
commit72d8bffde67ef7c76e7897acc80eaf6c184a9ef1 (patch)
tree668ab4b83b75e7ca754368afbc8e1dc564aec092 /util
parentBump sqlite3 from 5.0.2 to 5.0.8 in /util (diff)
downloadserver-72d8bffde67ef7c76e7897acc80eaf6c184a9ef1.tar.xz
Update Rights.ts
Diffstat (limited to 'util')
-rw-r--r--util/src/util/Rights.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/src/util/Rights.ts b/util/src/util/Rights.ts
index 35ad9514..b28c75b7 100644
--- a/util/src/util/Rights.ts
+++ b/util/src/util/Rights.ts
@@ -71,6 +71,8 @@ export class Rights extends BitField {
 		INITIATE_INTERACTIONS: BitFlag(40), // can initiate interactions
 		RESPOND_TO_INTERACTIONS: BitFlag(41), // can respond to interactions
 		SEND_BACKDATED_EVENTS: BitFlag(42), // can send backdated events
+		USE_MASS_INVITES: BitFlag(43), // added per @xnacly's request — can accept mass invites
+		ACCEPT_INVITES: BitFlag(44) // added per @xnacly's request — can accept user-specific invites and DM requests
 	};
 
 	any(permission: RightResolvable, checkOperator = true) {