diff options
author | dknn <yoann.blein@free.fr> | 2012-07-15 13:43:24 (GMT) |
---|---|---|
committer | dknn <yoann.blein@free.fr> | 2012-09-22 09:01:49 (GMT) |
commit | dd1c425caa5badf2d0b53271b7734f5be57d4003 (patch) | |
tree | 2c52459658b2391472a2f711bf56ee4abb4dee18 | |
parent | 13fed6df507734b0aef79bb6aa6573aa154852bc (diff) | |
download | swift-contrib-dd1c425caa5badf2d0b53271b7734f5be57d4003.zip swift-contrib-dd1c425caa5badf2d0b53271b7734f5be57d4003.tar.bz2 |
Handle same account case
-rw-r--r-- | Swiften/Examples/ScreenSharing/Host.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Examples/ScreenSharing/Host.cpp b/Swiften/Examples/ScreenSharing/Host.cpp index 4dd0353..44f72d4 100644 --- a/Swiften/Examples/ScreenSharing/Host.cpp +++ b/Swiften/Examples/ScreenSharing/Host.cpp @@ -73,7 +73,7 @@ class ScreenSharer { } void handleCapsChanged(JID jid) { - if (jid.toBare() == recipient) { + if (jid.toBare() == recipient.toBare() || jid == recipient) { std::cout << "Recipient found" << std::endl; outgoingScreenSharing = client->getScreenSharingManager()->createOutgoingScreenSharing(recipient); |