Skip to content

Commit

Permalink
Improve a little more jingle-ft logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Apr 19, 2024
1 parent c1f6c26 commit f84fbda
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/xmpp/xmpp-im/jingle-ft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,10 @@ namespace XMPP { namespace Jingle { namespace FileTransfer {

void expectReceived()
{
qDebug("jingle-ft: waiting for <received>");
qDebug("jingle-ft: waiting for <received> for %s", qUtf8Printable(q->pad()->session()->peer().full()));
expectFinalize([this]() {
qDebug("jingle-ft: Waiting for <received> timed out. But likely succeeded anyway");
qDebug("jingle-ft: Waiting for <received> timed out. But likely succeeded anyway. %s",
qUtf8Printable(q->pad()->session()->peer().full()));
onReceived();
});
}
Expand Down Expand Up @@ -712,7 +713,7 @@ namespace XMPP { namespace Jingle { namespace FileTransfer {

void Application::incomingReceived()
{
qDebug("got received");
qDebug("jingle-ft: got received for %s", qUtf8Printable(pad()->session()->peer().full()));
d->onReceived();
}

Expand Down

0 comments on commit f84fbda

Please sign in to comment.