[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:24:32 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=f085bd0

The following commit has been merged in the master branch:
commit f085bd09f53810b466bd569d7fef4fe299f51828
Author: Daniel Cohen <analoguecolour at gmail.com>
Date:   Sat Apr 12 01:49:48 2014 +0200

    Fixed group chat capability detection
---
 app/chat-window.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/chat-window.cpp b/app/chat-window.cpp
index 85779c4..2216a38 100644
--- a/app/chat-window.cpp
+++ b/app/chat-window.cpp
@@ -366,7 +366,7 @@ void ChatWindow::onCurrentIndexChanged(int index)
         setFileTransferEnabled(targetContact->fileTransferCapability());
         setVideoCallEnabled(targetContact->videoCallCapability());
         setShareDesktopEnabled(targetContact->streamTubeServicesCapability().contains(QLatin1String("rfb")));
-        setInviteToChatEnabled(true);
+        setInviteToChatEnabled(currentChatTab->account()->capabilities().textChatrooms());
         setShowInfoEnabled(true);
         toggleBlockButton(targetContact->isBlocked());
     } else {
@@ -374,7 +374,7 @@ void ChatWindow::onCurrentIndexChanged(int index)
         setFileTransferEnabled(false);
         setVideoCallEnabled(false);
         setShareDesktopEnabled(false);
-        setInviteToChatEnabled(true);
+        setInviteToChatEnabled(false);
         setBlockEnabled(false);
         setShowInfoEnabled(false);
     }

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list