mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed processing of empty chart on message statistic.
This commit is contained in:
@@ -105,7 +105,7 @@ struct SupergroupStatistics final {
|
||||
|
||||
struct MessageStatistics final {
|
||||
explicit operator bool() const {
|
||||
return !messageInteractionGraph.chart.empty();
|
||||
return !messageInteractionGraph.chart.empty() || views;
|
||||
}
|
||||
Data::StatisticalGraph messageInteractionGraph;
|
||||
int publicForwards = 0;
|
||||
|
||||
Reference in New Issue
Block a user