mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Request dialog list entries when needed.
Also save the original server-side int32 date in HistoryItems.
This commit is contained in:
@@ -331,7 +331,9 @@ void System::showNext() {
|
||||
if (nextNotify) {
|
||||
if (forwardedItem) {
|
||||
auto nextForwarded = nextNotify->Has<HistoryMessageForwarded>() ? nextNotify : nullptr;
|
||||
if (nextForwarded && forwardedItem->author() == nextForwarded->author() && qAbs(int64(nextForwarded->date.toTime_t()) - int64(forwardedItem->date.toTime_t())) < 2) {
|
||||
if (nextForwarded
|
||||
&& forwardedItem->author() == nextForwarded->author()
|
||||
&& qAbs(int64(nextForwarded->date()) - int64(forwardedItem->date())) < 2) {
|
||||
forwardedItem = nextForwarded;
|
||||
++forwardedCount;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user