Skip to content

Commit eebbf7e

Browse files
ashfameakirk
authored andcommitted
let room name be default alias if alias prefix isn't defined
1 parent 5a6c198 commit eebbf7e

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
@@ -602,7 +602,7 @@ export class TeamSyncer {
602602
}
603603

604604
const aliasPrefix = this.getAliasPrefix(teamId);
605-
const alias = aliasPrefix ? `${aliasPrefix}${channel.name.toLowerCase()}` : undefined;
605+
const alias = aliasPrefix ? `${aliasPrefix}${channel.name.toLowerCase()}` : channel.name.toLowerCase();
606606
let topic: undefined|string;
607607
if (channel.purpose) {
608608
topic = channel.purpose.value;

0 commit comments

Comments
 (0)