mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Merge e48bfb7ed3
into 44e7e091b2
This commit is contained in:
commit
821b58fd27
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ class AdnlPeerTableImpl : public AdnlPeerTable {
|
|||
VLOG(ADNL_WARNING) << "DUMP: " << td::buffer_to_hex(data.as_slice().truncate(128));
|
||||
return;
|
||||
}
|
||||
if (data.empty()) {
|
||||
send_message_in(src, dst, AdnlMessage{adnlmessage::AdnlMessageNop()}, flags);
|
||||
return;
|
||||
}
|
||||
send_message_in(src, dst, AdnlMessage{adnlmessage::AdnlMessageCustom{std::move(data)}}, flags);
|
||||
}
|
||||
void answer_query(AdnlNodeIdShort src, AdnlNodeIdShort dst, AdnlQueryId query_id, td::BufferSlice data) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue