mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 13:26:28 +03:00
Do not show "0 members" subtitle for mailing lists
This commit is contained in:
@@ -629,6 +629,10 @@ impl Chat {
|
|||||||
.unwrap_or_else(|| "Err".into());
|
.unwrap_or_else(|| "Err".into());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if self.typ == Chattype::Group && self.is_mailing_list() {
|
||||||
|
return "".to_string();
|
||||||
|
}
|
||||||
|
|
||||||
if self.typ == Chattype::Group || self.typ == Chattype::VerifiedGroup {
|
if self.typ == Chattype::Group || self.typ == Chattype::VerifiedGroup {
|
||||||
if self.id.is_deaddrop() {
|
if self.id.is_deaddrop() {
|
||||||
return context.stock_str(StockMessage::DeadDrop).into();
|
return context.stock_str(StockMessage::DeadDrop).into();
|
||||||
|
|||||||
Reference in New Issue
Block a user