Do not append domain twice when updating mailbox (again)
Fixes:
> `mailbox` of this room set to `test@domain@domain`
Previously fixed in 97a4d6c7bc, but it seems like we unintentionally
reintroduced this bug again at some point after that.
This commit is contained in:
parent
75e5ed8245
commit
4b1ce195b4
1 changed files with 0 additions and 4 deletions
|
|
@ -98,9 +98,5 @@ func (b *Bot) setOption(ctx context.Context, name, value string) {
|
|||
return
|
||||
}
|
||||
|
||||
if name == roomOptionMailbox {
|
||||
value = value + "@" + b.domain
|
||||
}
|
||||
|
||||
b.SendNotice(ctx, evt.RoomID, fmt.Sprintf("`%s` of this room set to `%s`", name, value))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue