Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32322940
D9278.1765301754.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D9278.1765301754.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 9, 5:35 PM (9 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5856252
Default Alt Text
D9278.1765301754.diff (1 KB)
Attached To
Mode
D9278: [lib] Get rid of innerNotificationTexts
Attached
Detach File
Event Timeline
Log In to Comment