mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Misspelling: to setup -> to set up (#572)
* Typo: to setup -> to set up * Add newsfile
This commit is contained in:
parent
db8221b60a
commit
80010f7b9b
1
changelog.d/572.misc
Normal file
1
changelog.d/572.misc
Normal file
@ -0,0 +1 @@
|
||||
Change "setup" to "set up" where it's used as a verb.
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user