Merge branch 'fix-double-domain' into 'main'

Do not append domain twice when updating mailbox

See merge request etke.cc/postmoogle!23
This commit is contained in:
Aine
2022-08-29 08:08:30 +00:00

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