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 @@ -44,7 +44,6 @@ }; export type NotificationTextsParams = { - +notifThreadName: (threadInfo: ThreadInfo) => string, +notificationTexts: ( messageInfos: $ReadOnlyArray, threadInfo: ThreadInfo, 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 @@ -169,10 +169,7 @@ const unresolvedNotifTexts = await messageSpec.notificationTexts( messageInfos, threadInfo, - { - notifThreadName, - notificationTexts: innerNotificationTexts, - }, + { notificationTexts: innerNotificationTexts }, ); const resolveToString = async (