Dont Hardcode 'Delta Chat'

This commit is contained in:
Hocuri
2020-05-29 22:08:05 +02:00
committed by holger krekel
parent 3e6cd3ff34
commit e1ff657c78
2 changed files with 6 additions and 1 deletions

View File

@@ -379,7 +379,9 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
Some(name) => Some(name),
None => self.context.get_config(Config::Displayname).await,
}
.unwrap_or_else(|| "Delta Chat".to_string());
.unwrap_or_else(|| {
self.context.stock_str(StockMessage::MessengerName)
});
self.context
.stock_string_repl_str(