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
|
# Leave a blank string to disable
|
||||||
instance_motto="A minute file sharing service"
|
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.
|
# URL of the instance.
|
||||||
# You must set this to a valid URL
|
# You must set this to a valid URL
|
||||||
instance_url=""
|
instance_url=""
|
|
@ -57,6 +57,11 @@ pub struct Branding {
|
||||||
/// Instance motto
|
/// Instance motto
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
pub instance_motto: String,
|
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(...)
|
/// Instance URL (not the bind URL). Must be Some(...)
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
|
@ -68,6 +73,7 @@ impl Default for Branding {
|
||||||
Branding {
|
Branding {
|
||||||
instance_name: "blek! File".into(),
|
instance_name: "blek! File".into(),
|
||||||
instance_motto: "A minute file sharing".into(),
|
instance_motto: "A minute file sharing".into(),
|
||||||
|
instance_emoji: '🌠',
|
||||||
instance_url: None,
|
instance_url: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue