Skip to content

Commit 01114b7

Browse files
ashfameakirk
authored andcommitted
add explanation for revert
1 parent 901ffc9 commit 01114b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/TeamSyncer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,9 @@ export class TeamSyncer {
617617
plUsers[admin] = 100;
618618
}
619619

620+
// Important note: default alias needs to be undefined if alias prefix isn't used
621+
// otherwise teamsync would fail to create new room since if room alias is specified,
622+
// it needs to have exclusive access to such rooms (configured in app service config)
620623
const aliasPrefix = this.getAliasPrefix(teamId);
621624
const alias = aliasPrefix ? `${aliasPrefix}${channel.name.toLowerCase()}` : undefined;
622625
let topic: undefined|string;

0 commit comments

Comments
 (0)