diff options
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/jabber/ChatRoomMemberJabberImpl.java | 3 | ||||
-rw-r--r-- | src/net/java/sip/communicator/service/protocol/jabber/JabberChatRoomMember.java | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/ChatRoomMemberJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/ChatRoomMemberJabberImpl.java index 263d6bf..22916c5 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/ChatRoomMemberJabberImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/ChatRoomMemberJabberImpl.java @@ -7,6 +7,7 @@ package net.java.sip.communicator.impl.protocol.jabber; import net.java.sip.communicator.service.protocol.*; +import net.java.sip.communicator.service.protocol.jabber.*; import org.jivesoftware.smack.util.*; import org.jivesoftware.smackx.muc.*; @@ -17,7 +18,7 @@ import org.jivesoftware.smackx.muc.*; * @author Emil Ivov */ public class ChatRoomMemberJabberImpl - implements ChatRoomMember + implements JabberChatRoomMember { /** * The chat room that we are a member of. diff --git a/src/net/java/sip/communicator/service/protocol/jabber/JabberChatRoomMember.java b/src/net/java/sip/communicator/service/protocol/jabber/JabberChatRoomMember.java new file mode 100644 index 0000000..279ae3e --- /dev/null +++ b/src/net/java/sip/communicator/service/protocol/jabber/JabberChatRoomMember.java @@ -0,0 +1,26 @@ +/* + * Jitsi, the OpenSource Java VoIP and Instant Messaging client. + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + */ +package net.java.sip.communicator.service.protocol.jabber; + +import net.java.sip.communicator.service.protocol.*; + +/** + * {@link ChatRoomMember} interface extension that provides additional + * methods specific to Jabber protocol. + * + * @author Pawel Domas + */ +public interface JabberChatRoomMember + extends ChatRoomMember +{ + /** + * Returns the Jabber ID of the member. + * @return the Jabber ID or <tt>null</tt> if we don't have enough + * permissions to look up user's JID. + */ + public String getJabberID(); +} |