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:
Konstantinos Sideris 2017-12-06 02:59:15 +02:00
parent 65a2743bf1
commit c1d0bbaf0b
2 changed files with 9 additions and 4 deletions

View file

@ -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;
}