diff options
author | dknn <yoann.blein@free.fr> | 2012-08-04 09:13:14 (GMT) |
---|---|---|
committer | dknn <yoann.blein@free.fr> | 2012-09-22 09:01:49 (GMT) |
commit | 5ed2b62239eda07de84142e63fad31ccc194d379 (patch) | |
tree | 47d7dd469b7f637ee125371d267eaae17a6978a7 /Swiften/ScreenSharing/ScreenSharingManagerImpl.cpp | |
parent | 292967c02ffc2ff0b53df526af2965a03916290c (diff) | |
download | swift-contrib-5ed2b62239eda07de84142e63fad31ccc194d379.zip swift-contrib-5ed2b62239eda07de84142e63fad31ccc194d379.tar.bz2 |
Fix bug with ipv6 + add new feature in disco
Diffstat (limited to 'Swiften/ScreenSharing/ScreenSharingManagerImpl.cpp')
-rw-r--r-- | Swiften/ScreenSharing/ScreenSharingManagerImpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/ScreenSharing/ScreenSharingManagerImpl.cpp b/Swiften/ScreenSharing/ScreenSharingManagerImpl.cpp index a747b81..b0e337a 100644 --- a/Swiften/ScreenSharing/ScreenSharingManagerImpl.cpp +++ b/Swiften/ScreenSharing/ScreenSharingManagerImpl.cpp @@ -56,7 +56,8 @@ boost::optional<JID> ScreenSharingManagerImpl::highestPriorityJIDSupportingScree DiscoInfo::ref info = capsProvider->getCaps(pres->getFrom()); // look up caps from the jid if (info && info->hasFeature(DiscoInfo::JingleFeature) && info->hasFeature(DiscoInfo::JingleRTPFeature) - && info->hasFeature(DiscoInfo::JingleTransportRawUDPFeature)) { + && info->hasFeature(DiscoInfo::JingleTransportRawUDPFeature) + && info->hasFeature(DiscoInfo::JingleScreenSharingFeature)) { priority = pres->getPriority(); fullRecipientJID = pres->getFrom(); } |