diff options
3 files changed, 22 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetJitsiMeetToolsJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetJitsiMeetToolsJabberImpl.java index 06f5bfe..80ce704 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetJitsiMeetToolsJabberImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetJitsiMeetToolsJabberImpl.java @@ -42,6 +42,14 @@ public class OperationSetJitsiMeetToolsJabberImpl /** * {@inheritDoc} */ + public void removeSupportedFeature(String featureName) + { + parentProvider.getDiscoveryManager().removeFeature(featureName); + } + + /** + * {@inheritDoc} + */ @Override public void sendPresenceExtension(ChatRoom chatRoom, PacketExtension extension) diff --git a/src/net/java/sip/communicator/impl/protocol/sip/OperationSetJitsiMeetToolsSipImpl.java b/src/net/java/sip/communicator/impl/protocol/sip/OperationSetJitsiMeetToolsSipImpl.java index 7ce7b1b..b43e207 100644 --- a/src/net/java/sip/communicator/impl/protocol/sip/OperationSetJitsiMeetToolsSipImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/sip/OperationSetJitsiMeetToolsSipImpl.java @@ -111,6 +111,12 @@ public class OperationSetJitsiMeetToolsSipImpl throw new RuntimeException("Not implemented for SIP"); } + @Override + public void removeSupportedFeature(String featureName) + { + throw new RuntimeException("Not implemented for SIP"); + } + /** * {@inheritDoc} */ diff --git a/src/net/java/sip/communicator/service/protocol/OperationSetJitsiMeetTools.java b/src/net/java/sip/communicator/service/protocol/OperationSetJitsiMeetTools.java index f0acba6..206b2ce 100644 --- a/src/net/java/sip/communicator/service/protocol/OperationSetJitsiMeetTools.java +++ b/src/net/java/sip/communicator/service/protocol/OperationSetJitsiMeetTools.java @@ -26,6 +26,14 @@ public interface OperationSetJitsiMeetTools public void addSupportedFeature(String featureName); /** + * Removes given feature from communication protocol capabilities list of + * parent {@link ProtocolProviderService}. + * + * @param featureName feature name to be removed from the capabilities list. + */ + public void removeSupportedFeature(String featureName); + + /** * Includes given <tt>PacketExtension</tt> in multi user chat presence and * sends presence update packet to the chat room. * @param chatRoom the <tt>ChatRoom</tt> for which the presence will be |