about summary refs log tree commit diff
path: root/pkgs/aszlig/psi/disable-jingle.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/aszlig/psi/disable-jingle.patch')
-rw-r--r--pkgs/aszlig/psi/disable-jingle.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/aszlig/psi/disable-jingle.patch b/pkgs/aszlig/psi/disable-jingle.patch
new file mode 100644
index 00000000..d76b9451
--- /dev/null
+++ b/pkgs/aszlig/psi/disable-jingle.patch
@@ -0,0 +1,12 @@
+diff --git a/iris/src/xmpp/xmpp-im/jingle.cpp b/iris/src/xmpp/xmpp-im/jingle.cpp
+index 0ac149a..e445acf 100644
+--- a/iris/src/xmpp/xmpp-im/jingle.cpp
++++ b/iris/src/xmpp/xmpp-im/jingle.cpp
+@@ -1681,6 +1681,7 @@ namespace XMPP { namespace Jingle {
+ 
+     Session *Manager::incomingSessionInitiate(const Jid &from, const Jingle &jingle, const QDomElement &jingleEl)
+     {
++        return nullptr;
+         if (d->maxSessions > 0 && d->sessions.size() == d->maxSessions) {
+             d->lastError = XMPP::Stanza::Error(XMPP::Stanza::Error::Wait, XMPP::Stanza::Error::ResourceConstraint);
+             return nullptr;