parent
cd05378b59
commit
d8b13b46f7
@ -0,0 +1,5 @@
|
||||
export const order = ['public', 'unlisted', 'private', 'direct'];
|
||||
|
||||
export function privacyPreference (a, b) {
|
||||
return order[Math.max(order.indexOf(a), order.indexOf(b), 0)];
|
||||
};
|
Loading…
Reference in new issue