add branding emoji property
This commit is contained in:
parent
2df56a67ea
commit
462f171a5b
|
@ -50,6 +50,10 @@ instance_name="blek! File"
|
|||
# Leave a blank string to disable
|
||||
instance_motto="A minute file sharing service"
|
||||
|
||||
# Instance emoji.
|
||||
# Used as the icon where icon images are not available
|
||||
instance_emoji="🌠"
|
||||
|
||||
# URL of the instance.
|
||||
# You must set this to a valid URL
|
||||
instance_url=""
|
|
@ -58,6 +58,11 @@ pub struct Branding {
|
|||
#[serde(default)]
|
||||
pub instance_motto: String,
|
||||
|
||||
/// Instance emoji, displayed like this:
|
||||
/// 🌠 blek! File
|
||||
#[serde(default)]
|
||||
pub instance_emoji: char,
|
||||
|
||||
/// Instance URL (not the bind URL). Must be Some(...)
|
||||
#[serde(default)]
|
||||
pub instance_url: Option<String>,
|
||||
|
@ -68,6 +73,7 @@ impl Default for Branding {
|
|||
Branding {
|
||||
instance_name: "blek! File".into(),
|
||||
instance_motto: "A minute file sharing".into(),
|
||||
instance_emoji: '🌠',
|
||||
instance_url: None,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue