mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Remove main()->peerUpdated and some other signals.
This commit is contained in:
@@ -22,11 +22,6 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
|
||||
#include "base/observer.h"
|
||||
|
||||
namespace App {
|
||||
// Temp forward declaration (while all peer updates are not done through observers).
|
||||
void emitPeerUpdated();
|
||||
} // namespace App
|
||||
|
||||
namespace Notify {
|
||||
namespace {
|
||||
|
||||
@@ -93,8 +88,6 @@ void peerUpdatedDelayed(const PeerUpdate &update) {
|
||||
}
|
||||
|
||||
void peerUpdatedSendDelayed() {
|
||||
App::emitPeerUpdated();
|
||||
|
||||
if (!SmallUpdates || !AllUpdates || SmallUpdates->empty()) return;
|
||||
|
||||
auto smallList = base::take(*SmallUpdates);
|
||||
|
Reference in New Issue
Block a user