Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33095277
D14444.1768466586.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D14444.1768466586.diff
View Options
diff --git a/lib/utils/farcaster-utils.js b/lib/utils/farcaster-utils.js
--- a/lib/utils/farcaster-utils.js
+++ b/lib/utils/farcaster-utils.js
@@ -9,7 +9,7 @@
import { syncedMetadataNames } from '../types/synced-metadata-types.js';
import { useSelector, useDispatch } from '../utils/redux-utils.js';
-const DISABLE_CONNECT_FARCASTER_ALERT = true;
+const DISABLE_CONNECT_FARCASTER_ALERT = false;
const NO_FID_METADATA = 'NONE';
function useCurrentUserFID(): ?string {
diff --git a/lib/utils/push-alerts.js b/lib/utils/push-alerts.js
--- a/lib/utils/push-alerts.js
+++ b/lib/utils/push-alerts.js
@@ -1,7 +1,6 @@
// @flow
import type { AlertInfo } from '../types/alert-types.js';
-import { isDev } from '../utils/dev-utils.js';
import { DISABLE_CONNECT_FARCASTER_ALERT } from '../utils/farcaster-utils.js';
const msInDay = 24 * 60 * 60 * 1000;
@@ -21,10 +20,7 @@
alertInfo: AlertInfo,
fid: ?string,
): boolean {
- // The isDev check is here so that devs don't get continually spammed
- // with this alert.
return (
- isDev ||
DISABLE_CONNECT_FARCASTER_ALERT ||
fid !== undefined ||
alertInfo.totalAlerts > 0
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 8:43 AM (8 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5937001
Default Alt Text
D14444.1768466586.diff (1 KB)
Attached To
Mode
D14444: [lib] launch connect farcaster prompt
Attached
Detach File
Event Timeline
Log In to Comment