SHA256
Отключить мультиаккаунтность и уточнить статусы профиля
This commit is contained in:
@@ -7,5 +7,5 @@ export function confirmationRights(actor, target) {
|
||||
const a = String(actor?.login || '').trim().toLowerCase();
|
||||
const b = String(target?.login || '').trim().toLowerCase();
|
||||
const primary = Boolean(a && b && a !== b && actor?.accountRole === 'primary' && target?.accountRole === 'primary');
|
||||
return { primary, shine: primary && actor?.shineStatus === 'shining' && target?.shineStatus !== 'not_interested' };
|
||||
return { primary, shine: Boolean(a && b && a !== b && actor?.accountRole === 'primary' && actor?.shineStatus === 'shining' && target?.shineStatus === 'shining') };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user