Skip to content

Commit

Permalink
Current version of Psi+ is 1.5.1774
Browse files Browse the repository at this point in the history
It is based on:
* psi: d9a3336b
* plugins: 3c71dec
* psimedia: 478567e
* resources: c35f1e3
  • Loading branch information
tehnick committed Apr 19, 2024
1 parent 5da4837 commit f6c2766
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
7 changes: 4 additions & 3 deletions iris/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
1 change: 1 addition & 0 deletions src/filesharingproxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "qhttpserverresponse.hpp"
#include "webserver.h"

#include <QFileInfo>
#include <QNetworkReply>
#include <QPointer>

Expand Down
6 changes: 1 addition & 5 deletions src/textutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -539,16 +539,12 @@ QString TextUtil::emoticonify(const QString &in)

int n = match.capturedStart();
if (ePos == -1 || n < ePos || (match.capturedLength() > foundLen && n < ePos + foundLen)) {
#if 0
// this logic is commented out being rather harmful with unicode emoji
bool leftSpace = n == 0 || (n > 0 && str[n - 1].isSpace());
bool rightSpace = (n + match.capturedLength() == int(str.length()))
|| (n + match.capturedLength() < int(str.length())
&& str[n + match.capturedLength()].isSpace());
// there must be whitespace at least on one side of the emoticon
if (leftSpace || rightSpace) {
#endif
if (true) {
if (leftSpace || rightSpace || EmojiRegistry::instance().isEmoji(match.captured())) {
ePos = n;
closest = icon;

Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.1772 (2024-04-19, 8d4c6dae)
1.5.1774 (2024-04-19, d9a3336b)

0 comments on commit f6c2766

Please sign in to comment.