mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 10:26:29 +03:00
Remove newlines from group names, chat names and the displayname (#1845)
This commit is contained in:
@@ -232,6 +232,10 @@ impl Context {
|
||||
});
|
||||
ret
|
||||
}
|
||||
Config::Displayname => {
|
||||
let value = value.map(improve_single_line_input);
|
||||
self.sql.set_raw_config(self, key, value.as_deref()).await
|
||||
}
|
||||
_ => self.sql.set_raw_config(self, key, value).await,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user