summary refs log tree commit diff
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
commit652bb40e8c17065698bd5b37718600cc4855b803 (patch)
tree1203f61e5ecb8819cf0b0163554deea939f7187d
parentBump sqlite3 from 5.0.2 to 5.0.8 in /util (diff)
downloadserver-652bb40e8c17065698bd5b37718600cc4855b803.tar.xz
Update Rights.ts
-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) {