decord/source/modules/premium/FriendAnniversaryNotificationUtils.tsx

20 lines
1 KiB
TypeScript
Raw Normal View History

2026-07-31 08:44:05 +00:00
// Module ID: 14478
// Function ID: 14479
2026-07-20 16:05:17 +00:00
// Name: onFriendAnniversaryNotificationSettingsChanged
2026-07-31 08:44:05 +00:00
// Dependencies: [676, 3833, 3866, 698, 2]
2026-07-20 16:05:17 +00:00
// Exports: onFriendAnniversaryNotificationSettingsChanged
2026-07-31 08:44:05 +00:00
// Module 14478 (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-31 08:44:05 +00:00
const EnableFriendAnniversaryNotifications = require(3866) /* explicitContentFromProto */.EnableFriendAnniversaryNotifications;
2026-07-20 16:05:17 +00:00
EnableFriendAnniversaryNotifications.updateSetting(friend_anniversary_notifications);
2026-07-29 08:29:29 +00:00
let obj = importDefault(698);
2026-07-20 16:05:17 +00:00
obj = { update_type: constants.ACCOUNT, friend_anniversary_notifications };
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
};