Fix erroneous domain server log message

This commit is contained in:
David Rowe 2021-07-21 20:06:18 +12:00
parent 320b5a2d22
commit 38f7506c5e

View file

@ -345,9 +345,8 @@ bool WDCConnection::sendDataMessage(const DataBuffer& buffer) {
#endif
if (_dataChannel->buffered_amount() + buffer.size() > MAX_WEBRTC_BUFFER_SIZE) {
// Don't send, otherwise the data channel will be closed.
return false;
} else {
qCDebug(networking_webrtc) << "WebRTC send buffer overflow";
return false;
}
return _dataChannel->Send(buffer);
}