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 @@ -939,7 +939,21 @@ `To move a chat over here, switch the “Background” option in its settings.`; function threadNoun(threadType: ThreadType): string { - return threadType === threadTypes.SIDEBAR ? 'thread' : 'chat'; + if (threadType === threadTypes.SIDEBAR) { + return 'thread'; + } else if ( + threadType === threadTypes.COMMUNITY_ROOT || + threadType === threadTypes.COMMUNITY_ANNOUNCEMENT_ROOT || + threadType === threadTypes.COMMUNITY_OPEN_SUBTHREAD || + threadType === threadTypes.COMMUNITY_OPEN_ANNOUNCEMENT_SUBTHREAD || + threadType === threadTypes.COMMUNITY_SECRET_SUBTHREAD || + threadType === threadTypes.COMMUNITY_SECRET_ANNOUNCEMENT_SUBTHREAD || + threadType === threadTypes.GENESIS + ) { + return 'channel'; + } else { + return 'chat'; + } } function threadLabel(threadType: ThreadType): string {