From 97a4d6c7bc961eb8d88d1ec1b82bfe64d6de4d90 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 29 Aug 2022 10:46:59 +0300 Subject: [PATCH] Do not append @domain twice when updating mailbox Fixes a regression introduced in 13776ad7 --- bot/command.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bot/command.go b/bot/command.go index 2fb754c..fdc7068 100644 --- a/bot/command.go +++ b/bot/command.go @@ -295,9 +295,5 @@ func (b *Bot) setOption(ctx context.Context, name, value string) { return } - if name == optionMailbox { - value = value + "@" + b.domain - } - b.Notice(ctx, evt.RoomID, fmt.Sprintf("`%s` of this room set to `%s`", name, value)) }