Skip to content

Commit 901ffc9

Browse files
ashfameakirk
authored andcommitted
Revert "let room name be default alias if alias prefix isn't defined"
This reverts commit 8806d1b.
1 parent 94d7c2e commit 901ffc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TeamSyncer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ export class TeamSyncer {
618618
}
619619

620620
const aliasPrefix = this.getAliasPrefix(teamId);
621-
const alias = aliasPrefix ? `${aliasPrefix}${channel.name.toLowerCase()}` : channel.name.toLowerCase();
621+
const alias = aliasPrefix ? `${aliasPrefix}${channel.name.toLowerCase()}` : undefined;
622622
let topic: undefined|string;
623623
if (channel.purpose) {
624624
topic = channel.purpose.value;

0 commit comments

Comments
 (0)