Subject: MucManager OnInvite XmppXElement
I can't find the invite XmppXElement. How can I retrieve the values I need from the invite (from, reason, and password). This is what I expected to do:
Here is the expected message:
- void OnInvitedToChatRoom(object sender, MessageEventArgs e)
- {
- var invite = e.Message.Element<Invite>();
- }
Here is the expected message:
- <message from='coven@chat.shakespeare.lit' id='nzd143v8' to='hecate@shakespeare.lit'>
- <x xmlns='http://jabber.org/protocol/muc#user'>
- <invite from='crone1@shakespeare.lit/desktop'>
- <reason>Hey Hecate, this is the place for all good witches!</reason>
- </invite>
- <password>cauldronburn</password>
- </x>
- </message>