[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ruqola] src: Add exception support
From:       Laurent Montel <null () kde ! org>
Date:       2018-04-30 14:54:18
Message-ID: E1fDAC2-0002mT-32 () code ! kde ! org
[Download RAW message or body]

Git commit 1293774cb564ee13298cd4bf7fb7fdfa3a37f8d0 by Laurent Montel.
Committed on 30/04/2018 at 14:54.
Pushed by mlaurent into branch 'master'.

Add exception support

M  +1    -1    src/rocketchataccount.cpp

https://commits.kde.org/ruqola/1293774cb564ee13298cd4bf7fb7fdfa3a37f8d0

diff --git a/src/rocketchataccount.cpp b/src/rocketchataccount.cpp
index fd4626b..762af84 100644
--- a/src/rocketchataccount.cpp
+++ b/src/rocketchataccount.cpp
@@ -608,7 +608,7 @@ void RocketChatAccount::userAutocomplete(const QString &searchText, const QStrin
         if (exception.isEmpty()) {
             addUserNameToException = userName();
         } else {
-            addUserNameToException += QLatin1Char(',') + userName();
+            addUserNameToException = exception + QLatin1Char(',') + userName();
         }
         //TODO use restapi
         ddp()->userAutocomplete(searchText, addUserNameToException);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic