Package com.calclab.emite.xep.muc.events

Examples of com.calclab.emite.xep.muc.events.RoomInvitationReceivedEvent


   
    final XMLPacket x = message.getExtension("x", XmppNamespaces.MUC_USER);
    if (x != null && x.hasChild("invite")) {
      final XMLPacket invite = x.getFirstChild("invite");
      final RoomInvitation invitation = new RoomInvitation(XmppURI.uri(invite.getAttribute("from")), message.getFrom(), invite.getChildText("reason"));
      eventBus.fireEventFromSource(new RoomInvitationReceivedEvent(invitation), this);
      return;
    }
   
    final RoomChat chat = getRoom(message.getFrom());
    if (chat != null) {
View Full Code Here

TOP

Related Classes of com.calclab.emite.xep.muc.events.RoomInvitationReceivedEvent

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.