Misspelling: to setup -> to set up (#572)

* Typo: to setup -> to set up

* Add newsfile
This commit is contained in:
Christian Paul 2022-11-21 18:38:50 +01:00 committed by GitHub
parent db8221b60a
commit 80010f7b9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 9 deletions

1
changelog.d/572.misc Normal file
View File

@ -0,0 +1 @@
Change "setup" to "set up" where it's used as a verb.

View File

@ -805,7 +805,7 @@ export class Bridge {
// Otherwise it's a new room
if (this.config.widgets?.roomSetupWidget?.addOnInvite) {
if (await this.as.botClient.userHasPowerLevelFor(this.as.botUserId, roomId, "im.vector.modular.widgets", true) === false) {
await this.as.botIntent.sendText(roomId, "Hello! To setup new integrations in this room, please promote me to a Moderator/Admin");
await this.as.botIntent.sendText(roomId, "Hello! To set up new integrations in this room, please promote me to a Moderator/Admin.");
} else {
// Set up the widget
await SetupWidget.SetupRoomConfigWidget(roomId, this.as.botIntent, this.config.widgets);