Subject: Extending Matrix
I add a class
and recieve a message like this
I write the code in OnMessage
But the msgStatus always return null?!why?
Thanks~
- public class MessageStatusEvent : XmppXElement
- {
- public MessageStatusEvent()
- : base("jabber:x:event", "x")
- {
- }
- }
- <message xmlns="jabber:client" id="kHcFE-39" to="75214@mobile01.com" from="2128809@mobile01.com/Smack">
- <x xmlns="jabber:x:event">
- <cancelled />
- <id />
- </x>
- </message>
- var msgStatus = e.Message.Element<MessageStatusEvent>();
- if (null != msgStatus)
- {
- }
Thanks~
This post was edited on 2012-04-02, 11:39 by Alex.
Edit reason: code formatting
Edit reason: code formatting