2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 14393
|
|
|
|
|
// Function ID: 110137
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: onFriendAnniversaryNotificationSettingsChanged
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [653, 3771, 3804, 675, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: onFriendAnniversaryNotificationSettingsChanged
|
|
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 14393 (onFriendAnniversaryNotificationSettingsChanged)
|
2026-07-23 10:11:24 +00:00
|
|
|
import { AnalyticEvents } from "ME";
|
|
|
|
|
import { NotificationSettingsUpdateType as closure_4 } from "AccountNotificationFlags";
|
|
|
|
|
|
|
|
|
|
const result = require("explicitContentFromProto").fileFinishedImporting("modules/premium/FriendAnniversaryNotificationUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const onFriendAnniversaryNotificationSettingsChanged = function onFriendAnniversaryNotificationSettingsChanged(friend_anniversary_notifications) {
|
2026-07-25 08:10:48 +00:00
|
|
|
const EnableFriendAnniversaryNotifications = require(3804) /* explicitContentFromProto */.EnableFriendAnniversaryNotifications;
|
2026-07-20 16:05:17 +00:00
|
|
|
EnableFriendAnniversaryNotifications.updateSetting(friend_anniversary_notifications);
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = importDefault(675);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { update_type: constants.ACCOUNT, friend_anniversary_notifications };
|
|
|
|
|
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
|
|
|
|
|
};
|