2026-08-12 06:57:52 +00:00
|
|
|
// Module ID: 16631
|
|
|
|
|
// Function ID: 16632
|
2026-07-29 08:29:29 +00:00
|
|
|
// Name: showPendingNotification
|
2026-08-12 06:57:52 +00:00
|
|
|
// Dependencies: [676, 14771, 1435, 1236, 16632, 4354, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: showAcceptedNotification, showPendingNotification
|
|
|
|
|
|
2026-08-12 06:57:52 +00:00
|
|
|
// Module 16631 (showPendingNotification)
|
2026-07-23 10:11:24 +00:00
|
|
|
import { FriendsSections } from "ME";
|
|
|
|
|
|
|
|
|
|
const result = require("getAvatarURL").fileFinishedImporting("utils/RelationshipUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const showPendingNotification = function showPendingNotification(user) {
|
2026-07-29 08:29:29 +00:00
|
|
|
const intl = require(1236) /* getSystemLocale */.intl;
|
2026-08-12 06:57:52 +00:00
|
|
|
let obj = importDefault(14771);
|
2026-07-29 08:29:29 +00:00
|
|
|
const stringResult = intl.string(require(1236) /* getSystemLocale */.t["t3+Af3"]);
|
|
|
|
|
obj = {
|
|
|
|
|
omitViewTracking: true,
|
|
|
|
|
omitClickTracking: true,
|
|
|
|
|
tag: user.id,
|
|
|
|
|
onClick: () => {
|
|
|
|
|
callback(table[4]).transitionToSection(constants.PENDING, { explicit: true });
|
|
|
|
|
},
|
|
|
|
|
isUserAvatar: true
|
|
|
|
|
};
|
2026-08-11 06:20:06 +00:00
|
|
|
obj.showNotification(importDefault(1435).getUserAvatarURL(user), user.username, stringResult, {}, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const showAcceptedNotification = function showAcceptedNotification(user) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const _require = user;
|
2026-07-29 08:29:29 +00:00
|
|
|
const intl = _require(1236).intl;
|
2026-08-12 06:57:52 +00:00
|
|
|
let obj = importDefault(14771);
|
2026-07-29 08:29:29 +00:00
|
|
|
const stringResult = intl.string(_require(1236).t.MYr3Ka);
|
|
|
|
|
obj = {
|
|
|
|
|
omitViewTracking: true,
|
|
|
|
|
omitClickTracking: true,
|
|
|
|
|
tag: user.id,
|
|
|
|
|
onClick: () => {
|
|
|
|
|
let obj = outer1_1(outer1_2[5]);
|
|
|
|
|
obj = { recipientIds: user.id };
|
|
|
|
|
obj.openPrivateChannel(obj);
|
|
|
|
|
},
|
|
|
|
|
isUserAvatar: true
|
|
|
|
|
};
|
2026-08-11 06:20:06 +00:00
|
|
|
obj.showNotification(importDefault(1435).getUserAvatarURL(user), user.username, stringResult, {}, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|