Do not show "0 members" subtitle for mailing lists

This commit is contained in:
Hocuri
2020-04-10 17:17:50 +02:00
parent 3287e175b4
commit c5374565ec

View File

@@ -629,6 +629,10 @@ impl Chat {
.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.id.is_deaddrop() {
return context.stock_str(StockMessage::DeadDrop).into();