mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +02:00
Fixed processing of empty chart on message statistic.
This commit is contained in:
parent
2ca489b2fb
commit
b7a9aa9a0e
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ struct SupergroupStatistics final {
|
||||||
|
|
||||||
struct MessageStatistics final {
|
struct MessageStatistics final {
|
||||||
explicit operator bool() const {
|
explicit operator bool() const {
|
||||||
return !messageInteractionGraph.chart.empty();
|
return !messageInteractionGraph.chart.empty() || views;
|
||||||
}
|
}
|
||||||
Data::StatisticalGraph messageInteractionGraph;
|
Data::StatisticalGraph messageInteractionGraph;
|
||||||
int publicForwards = 0;
|
int publicForwards = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue