mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
refactor: remove the CTP_MEMBER user flag (#2465)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user