mirror of
https://github.com/oxen-io/session-open-group-server-legacy.git
synced 2023-12-13 21:10:18 +01:00
whitelistUserForServer now returns true on success
This commit is contained in:
parent
e4d2b4d94b
commit
88d0ebf25c
|
@ -251,6 +251,7 @@ module.exports = {
|
||||||
console.warn('logic:::permissions::whitelistUserFromServer - failed to whitelist', result);
|
console.warn('logic:::permissions::whitelistUserFromServer - failed to whitelist', result);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
return true
|
||||||
},
|
},
|
||||||
unwhitelistUserFromServer: async userid => {
|
unwhitelistUserFromServer: async userid => {
|
||||||
if (userid === undefined) {
|
if (userid === undefined) {
|
||||||
|
|
Loading…
Reference in a new issue