aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java
diff options
context:
space:
mode:
authorpaweldomas <pawel.domas@jitsi.org>2015-01-15 16:35:32 +0100
committerpaweldomas <pawel.domas@jitsi.org>2015-01-15 16:49:06 +0100
commitc917c463d9d3d1fec4ce6417274269fb580238b3 (patch)
tree6058d602ae02a41898e1a4fc4547dce7a6eadf8b /src/net/java
parente23c526d0ecf92b20244f4c862287deecbe08478 (diff)
downloadjitsi-c917c463d9d3d1fec4ce6417274269fb580238b3.zip
jitsi-c917c463d9d3d1fec4ce6417274269fb580238b3.tar.gz
jitsi-c917c463d9d3d1fec4ce6417274269fb580238b3.tar.bz2
Adds method for removing feature support to Jitsi Meet tools operation set.
Diffstat (limited to 'src/net/java')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/jabber/OperationSetJitsiMeetToolsJabberImpl.java8
-rw-r--r--src/net/java/sip/communicator/impl/protocol/sip/OperationSetJitsiMeetToolsSipImpl.java6
-rw-r--r--src/net/java/sip/communicator/service/protocol/OperationSetJitsiMeetTools.java8
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