Merge pull request #396 from n-peugnet/fix-baremessage-command-message

Fix baremessages command inverted message
This commit is contained in:
Tulir Asokan 2022-11-09 17:59:57 +02:00 committed by GitHub
commit 94c483a0e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -808,7 +808,7 @@ var toggleMsg = map[string]ToggleMessage{
"rooms": HideMessage("Room list sidebar"), "rooms": HideMessage("Room list sidebar"),
"users": HideMessage("User list sidebar"), "users": HideMessage("User list sidebar"),
"timestamps": HideMessage("message timestamps"), "timestamps": HideMessage("message timestamps"),
"baremessages": SimpleToggleMessage("bare message view"), "baremessages": InvertedToggleMessage("bare message view"),
"images": SimpleToggleMessage("image rendering"), "images": SimpleToggleMessage("image rendering"),
"typingnotif": SimpleToggleMessage("typing notifications"), "typingnotif": SimpleToggleMessage("typing notifications"),
"emojis": SimpleToggleMessage("emoji shortcode conversion"), "emojis": SimpleToggleMessage("emoji shortcode conversion"),