Skip to content

Commit

Permalink
add explanation for revert
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfame committed Nov 27, 2023
1 parent 89f47a7 commit 5fe5341
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/TeamSyncer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,9 @@ export class TeamSyncer {
plUsers[admin] = 100;
}

// 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)
const aliasPrefix = this.getAliasPrefix(teamId);
const alias = aliasPrefix ? `${aliasPrefix}${channel.name.toLowerCase()}` : undefined;
let topic: undefined|string;
Expand Down

0 comments on commit 5fe5341

Please sign in to comment.