We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 921113c + 8806d1b commit 7783cebCopy full SHA for 7783ceb
src/TeamSyncer.ts
@@ -602,7 +602,7 @@ export class TeamSyncer {
602
}
603
604
const aliasPrefix = this.getAliasPrefix(teamId);
605
- const alias = aliasPrefix ? `${aliasPrefix}${channel.name.toLowerCase()}` : undefined;
+ const alias = aliasPrefix ? `${aliasPrefix}${channel.name.toLowerCase()}` : channel.name.toLowerCase();
606
let topic: undefined|string;
607
if (channel.purpose) {
608
topic = channel.purpose.value;
@@ -646,7 +646,7 @@ export class TeamSyncer {
646
const {room_id} = await intent.createRoom({
647
createAsClient: true,
648
options: {
649
- name: `#${channel.name}`,
+ name: channel.name,
650
topic,
651
visibility: isPublic ? "public" : "private",
652
room_alias_name: alias,
0 commit comments