🔥 remove closed-source subscription notification code (#663)

This commit is contained in:
Matiss Janis Aboltins
2023-02-15 19:57:27 +00:00
committed by GitHub
parent b63309fddd
commit 19218be14f

View File

@@ -1368,16 +1368,6 @@ handlers['key-test'] = async function ({ fileId, password }) {
return {};
};
handlers['should-pitch-subscribe'] = async function () {
let seenSubscribe = await asyncStorage.getItem('seenSubscribe');
return seenSubscribe !== 'true';
};
handlers['has-pitched-subscribe'] = async function () {
await asyncStorage.setItem('seenSubscribe', 'true');
return 'ok';
};
handlers['subscribe-needs-bootstrap'] = async function ({ url } = {}) {
if (getServer(url).BASE_SERVER === UNCONFIGURED_SERVER) {
return { bootstrapped: true };