refactor: remove the CTP_MEMBER user flag (#2465)

This commit is contained in:
Hampus
2026-09-05 01:13:34 +02:00
committed by GitHub
parent 639ade3802
commit ab68b61653
45 changed files with 206 additions and 429 deletions
-2
View File
@@ -135,7 +135,6 @@ pub struct ApiUserPartial {
}
const USER_FLAG_STAFF: i64 = 1 << 0;
const USER_FLAG_CTP_MEMBER: i64 = 1 << 1;
const USER_FLAG_PARTNER: i64 = 1 << 2;
const USER_FLAG_BUG_HUNTER: i64 = 1 << 3;
const USER_FLAG_FRIENDLY_BOT: i64 = 1 << 4;
@@ -143,7 +142,6 @@ const USER_FLAG_FRIENDLY_BOT_MANUAL_APPROVAL: i64 = 1 << 5;
const USER_FLAG_SPAMMER: i64 = 1 << 6;
const USER_FLAG_STAFF_HIDDEN: i64 = 1 << 57;
const PUBLIC_USER_FLAGS: i64 = USER_FLAG_STAFF
| USER_FLAG_CTP_MEMBER
| USER_FLAG_PARTNER
| USER_FLAG_BUG_HUNTER
| USER_FLAG_FRIENDLY_BOT