summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2015-06-17 18:03:45 +0200
committerPali Rohár <[email protected]>2015-06-17 18:03:45 +0200
commit94dd49285061ca035b5684dbb18231c5bbd80600 (patch)
tree91d4f0a5e817490a80cebdfbfc425e3426780616
parent7b7b90e8a893ea91b55de397bcaae58018bbd986 (diff)
Set lowest resource priority for jabber libjingle part
-rw-r--r--protocols/jabber/libjingle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/jabber/libjingle.cpp b/protocols/jabber/libjingle.cpp
index 4b9a3b2..f0e2f85 100644
--- a/protocols/jabber/libjingle.cpp
+++ b/protocols/jabber/libjingle.cpp
@@ -294,6 +294,8 @@ void Libjingle::read() {
c = true;
emit(connected());
// qDebug() << "connected";
+ //Set lowest resource priority
+ write("priority -127");
} else if ( line.startsWith("logged out...") ) {
//We are logouted - bad username or passwd
QString res = line.section("logged out...", -1).trimmed();