Package tigase.xmpp.impl.roster.Roster

Examples of tigase.xmpp.impl.roster.Roster.SubscriptionType


    String buddy =
      JIDUtils.getNodeID(request.getAttribute("/iq/query/item", "jid"));
    Element item =  request.findChild("/iq/query/item");
    String subscription = item.getAttribute("subscription");
    if (subscription != null && subscription.equals("remove")) {
      SubscriptionType sub = roster_util.getBuddySubscription(session, buddy);
      if (sub == null) {
        sub = SubscriptionType.none;
      }
      String type = request.getAttribute("/iq/query/item", "type");
      if (sub != SubscriptionType.none && (type == null || !type.equals(ANON))) {
View Full Code Here

TOP

Related Classes of tigase.xmpp.impl.roster.Roster.SubscriptionType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.