Add IsExternal for external contact sources

Signed-off-by: Akhil <akhil@e.email>
This commit is contained in:
Akhil 2023-08-31 19:56:27 +05:30
parent 6f61b06bbb
commit 8a4eabe699
No known key found for this signature in database
GPG key ID: A8AB680DBB7F3D45
8 changed files with 25 additions and 1 deletions

View file

@ -4,7 +4,7 @@ import { ThemeStore } from 'Stores/Theme';
import { arePopupsVisible } from 'Knoin/Knoin';
export const AppUserStore = {
allowContacts: () => !!SettingsGet('contactsAllowed')
allowContacts: () => !!SettingsGet('contactsAllowed') && !!SettingsGet('contactsExternal')
};
addObservablesTo(AppUserStore, {