Page MenuHomePhabricator

D9278.id31399.diff
No OneTemporary

D9278.id31399.diff

diff --git a/lib/shared/messages/message-spec.js b/lib/shared/messages/message-spec.js
--- a/lib/shared/messages/message-spec.js
+++ b/lib/shared/messages/message-spec.js
@@ -46,10 +46,6 @@
};
export type NotificationTextsParams = {
- +notificationTexts: (
- messageInfos: $ReadOnlyArray<MessageInfo>,
- threadInfo: ThreadInfo,
- ) => Promise<?NotifTexts>,
+notifTargetUserInfo: UserInfo,
};
diff --git a/lib/shared/notif-utils.js b/lib/shared/notif-utils.js
--- a/lib/shared/notif-utils.js
+++ b/lib/shared/notif-utils.js
@@ -219,20 +219,10 @@
messageSpec.notificationTexts,
`we're not aware of messageType ${mostRecentType}`,
);
- const innerNotificationTexts = (
- innerMessageInfos: $ReadOnlyArray<MessageInfo>,
- innerThreadInfo: ThreadInfo,
- ) =>
- fullNotifTextsForMessageInfo(
- innerMessageInfos,
- innerThreadInfo,
- notifTargetUserInfo,
- getENSNames,
- );
const unresolvedNotifTexts = await messageSpec.notificationTexts(
messageInfos,
threadInfo,
- { notifTargetUserInfo, notificationTexts: innerNotificationTexts },
+ { notifTargetUserInfo },
);
if (!unresolvedNotifTexts) {
return unresolvedNotifTexts;

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 29, 10:49 PM (20 h, 50 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2598480
Default Alt Text
D9278.id31399.diff (1 KB)

Event Timeline