feat: custom text for user displayname suffix upon registration

replaces the lightning bolt emoji option with support for
your own text or emojis

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-02-20 23:08:53 -05:00 committed by June
parent 0972079319
commit 1ecad225be
5 changed files with 24 additions and 16 deletions

View file

@ -352,8 +352,8 @@ impl Service<'_> {
self.config.default_room_version.clone()
}
pub fn enable_lightning_bolt(&self) -> bool {
self.config.enable_lightning_bolt
pub fn new_user_displayname_suffix(&self) -> &String {
&self.config.new_user_displayname_suffix
}
pub fn allow_check_for_updates(&self) -> bool {