rename signal

This commit is contained in:
2025-08-08 12:18:26 +02:00
parent 110e6a62d2
commit b09c7f9efd
3 changed files with 3 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ int main(int argc, char** argv) {
fakeSocket->ConnectFakePeer(0);
// packets from the server to the client
fakeSocket->OnSend.Connect([&clientHandler](td::PeerID a_Peer, const td::protocol::PacketBase& a_Packet) {
fakeSocket->OnSendToFakePeer.Connect([&clientHandler](td::PeerID a_Peer, const td::protocol::PacketBase& a_Packet) {
a_Packet.Dispatch(clientHandler);
});