Skip to content

Commit 17816c4

Browse files
ashfameakirk
authored andcommitted
change comment as more was discovered
1 parent 01114b7 commit 17816c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TeamSyncer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,8 @@ export class TeamSyncer {
618618
}
619619

620620
// 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)
621+
// otherwise Synapse refuses to create the room even when room alias is specified, as if it wasn't specified
622+
// Seems like a bug but looking at Synapse's code, I couldn't find what's wrong
623623
const aliasPrefix = this.getAliasPrefix(teamId);
624624
const alias = aliasPrefix ? `${aliasPrefix}${channel.name.toLowerCase()}` : undefined;
625625
let topic: undefined|string;

0 commit comments

Comments
 (0)