Do not append @domain twice when updating mailbox
Fixes a regression introduced in 13776ad7
This commit is contained in:
parent
77a7e9efc6
commit
97a4d6c7bc
1 changed files with 0 additions and 4 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue