desktop/ktp-call-ui/git-fix.patch
2014-09-09 12:55:52 +00:00

14 lines
563 B
Diff

diff --git a/src/call-handler.cpp b/src/call-handler.cpp
index 2581bb3..75c7984 100644
--- a/src/call-handler.cpp
+++ b/src/call-handler.cpp
@@ -83,7 +83,7 @@ void CallHandler::handleChannels(const Tp::MethodInvocationContextPtr<> & contex
continue;
}
//check if any call manager is already handling this channel
- if (handledCallChannels.contains(callChannel)) {
+ if (!handledCallChannels.contains(callChannel)) {
handledCallChannels.append(callChannel);
CallManager *manager = new CallManager(callChannel, this);
}