Merge branch 'main-patch-09ef' into 'main'

Fixes a copy and paste mistake in the docstring of in RoomNoInlines

See merge request etke.cc/postmoogle!45
This commit is contained in:
Aine
2023-08-24 16:23:42 +00:00

View File

@@ -180,7 +180,7 @@ func (b *Bot) initCommands() commandList {
key: config.RoomNoInlines, key: config.RoomNoInlines,
description: fmt.Sprintf( description: fmt.Sprintf(
"Get or set `%s` of the room (`true` - ignore inline attachments; `false` - upload inline attachments)", "Get or set `%s` of the room (`true` - ignore inline attachments; `false` - upload inline attachments)",
config.RoomNoFiles, config.RoomNoInlines,
), ),
sanitizer: utils.SanitizeBoolString, sanitizer: utils.SanitizeBoolString,
allowed: b.allowOwner, allowed: b.allowOwner,