// Module ID: 16788 // Function ID: 16789 // Name: showPendingNotification // Dependencies: [676, 14889, 1435, 1236, 16789, 4775, 2] // Exports: showAcceptedNotification, showPendingNotification // Module 16788 (showPendingNotification) import set from "set" /* 2 */; import ME from "ME" /* 676 */; import getSystemLocale from "getSystemLocale" /* 1236 */; import getAvatarURLDefault from "getAvatarURL" /* 1435 */; import _modDef14889 from "module_14889" /* 14889 */; const FriendsSections = ME.FriendsSections; const result = set.fileFinishedImporting("utils/RelationshipUtils.tsx"); export const showPendingNotification = function showPendingNotification(user) { const intl = getSystemLocale.intl; let obj = _modDef14889; const stringResult = intl.string(getSystemLocale.t["t3+Af3"]); obj = { omitViewTracking: true, omitClickTracking: true, tag: user.id, onClick: () => { callback(table[4]).transitionToSection(constants.PENDING, { explicit: true }); }, isUserAvatar: true }; obj.showNotification(getAvatarURLDefault.getUserAvatarURL(user), user.username, stringResult, {}, obj); }; export const showAcceptedNotification = function showAcceptedNotification(user) { const _require = user; const intl = _require(1236).intl; let obj = _modDef14889; const stringResult = intl.string(_require(1236).t.MYr3Ka); obj = { omitViewTracking: true, omitClickTracking: true, tag: user.id, onClick: () => { let obj = closure_1_1(closure_1_2[5]); obj = { recipientIds: user.id }; obj.openPrivateChannel(obj); }, isUserAvatar: true }; obj.showNotification(getAvatarURLDefault.getUserAvatarURL(user), user.username, stringResult, {}, obj); };