telepathy-qt: BaseChannelGroupInterface: Fixed removeMembers().
Alexandr Akulich
kaffeine at kemper.freedesktop.org
Fri Jun 12 22:16:59 PDT 2015
Module: telepathy-qt
Branch: master
Commit: 7f9a982b1226969b520c9b18b03c0a1c76d9ac3a
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=7f9a982b1226969b520c9b18b03c0a1c76d9ac3a
Author: Alexandr Akulich <akulichalexander at gmail.com>
Date: Fri Jun 12 20:30:30 2015 +0600
BaseChannelGroupInterface: Fixed removeMembers().
---
TelepathyQt/base-channel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/TelepathyQt/base-channel.cpp b/TelepathyQt/base-channel.cpp
index 43e14fc..e56dd8d 100644
--- a/TelepathyQt/base-channel.cpp
+++ b/TelepathyQt/base-channel.cpp
@@ -2007,7 +2007,7 @@ void BaseChannelGroupInterface::removeMembers(const Tp::UIntList& handles)
{
Tp::UIntList removed;
foreach(uint handle, handles) {
- if (mPriv->members.contains(handle))
+ if (!mPriv->members.contains(handle))
continue;
mPriv->memberIdentifiers.remove(handle);
More information about the telepathy-commits
mailing list