Re-enable link-and-sync in Alpha
This commit is contained in:
parent
c6902ec26a
commit
962a2def18
3 changed files with 9 additions and 5 deletions
|
@ -3,13 +3,14 @@
|
|||
|
||||
import { isTestOrMockEnvironment } from '../environment';
|
||||
import { isStagingServer } from './isStagingServer';
|
||||
import { isAlpha } from './version';
|
||||
import { everDone as wasRegistrationEverDone } from './registration';
|
||||
|
||||
export function isLinkAndSyncEnabled(): boolean {
|
||||
export function isLinkAndSyncEnabled(version: string): boolean {
|
||||
// Cannot overwrite existing message history
|
||||
if (wasRegistrationEverDone()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return isStagingServer() || isTestOrMockEnvironment();
|
||||
return isStagingServer() || isTestOrMockEnvironment() || isAlpha(version);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue