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:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user