Skip to content

Commit

Permalink
change comment as more was discovered
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfame committed Nov 28, 2023
1 parent 5fe5341 commit b42138a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TeamSyncer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,8 +618,8 @@ export class TeamSyncer {
}

// Important note: default alias needs to be undefined if alias prefix isn't used
// otherwise teamsync would fail to create new room since if room alias is specified,
// it needs to have exclusive access to such rooms (configured in app service config)
// otherwise Synapse refuses to create the room even when room alias is specified, as if it wasn't specified
// Seems like a bug but looking at Synapse's code, I couldn't find what's wrong
const aliasPrefix = this.getAliasPrefix(teamId);
const alias = aliasPrefix ? `${aliasPrefix}${channel.name.toLowerCase()}` : undefined;
let topic: undefined|string;
Expand Down

0 comments on commit b42138a

Please sign in to comment.