diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js --- a/lib/shared/thread-utils.js +++ b/lib/shared/thread-utils.js @@ -1740,10 +1740,8 @@ return null; } - if (isViewerProfile) { - return oldestPrivateThreadInfo - ? { threadInfo: oldestPrivateThreadInfo } - : null; + if (isViewerProfile && oldestPrivateThreadInfo) { + return { threadInfo: oldestPrivateThreadInfo }; } if (usersWithPersonalThread.has(userID)) {