Package org.jivesoftware.smackx.muc

Examples of org.jivesoftware.smackx.muc.MultiUserChat.leave()


      try {
      try {
        for (WeakReference<MultiUserChat> entry : groupChatCache.values()) {
          MultiUserChat chat = entry.get();
          if (chat != null && chat.isJoined()) {
            chat.leave();
          }
        }
        // there seems to be no way to leave a 1-on-1 chat with Smack
       
        this.groupChatCache.clear();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.