Do not append @domain twice when updating mailbox

Fixes a regression introduced in 13776ad7
This commit is contained in:
Slavi Pantaleev
2022-08-29 10:46:59 +03:00
parent 77a7e9efc6
commit 97a4d6c7bc

View File

@@ -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))
}