Prevent queue from getting blocked (#142)
Try sending a message when all the sent messages have been received through /sync.
This commit is contained in:
parent
65a2743bf1
commit
c1d0bbaf0b
2 changed files with 9 additions and 4 deletions
|
|
@ -300,7 +300,6 @@ MatrixClient::sendRoomMessage(mtx::events::MessageType ty,
|
|||
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||
|
||||
if (status == 0 || status >= 400) {
|
||||
qWarning() << reply->errorString();
|
||||
emit messageSendFailed(roomid, txnId);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue