Subject: Muc.Item does not have Actor element
Added to agsXMPP.protocol.x.muc.Item :
Added to agsXMPP.protocol.x.muc namespace new file with :
Added to ElementFactory:
Hope its ok!
public Actor Actor
{
get
{
return SelectSingleElement( typeof( Actor ) ) as Actor;
}
}
{
get
{
return SelectSingleElement( typeof( Actor ) ) as Actor;
}
}
Added to agsXMPP.protocol.x.muc namespace new file with :
using System;
using agsXMPP.Xml.Dom;
namespace agsXMPP.protocol.x.muc
{
/// <summary>
/// Summary description for Actor.
/// </summary>
public class Actor : agsXMPP.protocol.Base.Item
{
/// <summary>
///
/// </summary>
public Actor() : base()
{
this.TagName = "actor";
this.Namespace = Uri.MUC_USER;
}
}
}
using agsXMPP.Xml.Dom;
namespace agsXMPP.protocol.x.muc
{
/// <summary>
/// Summary description for Actor.
/// </summary>
public class Actor : agsXMPP.protocol.Base.Item
{
/// <summary>
///
/// </summary>
public Actor() : base()
{
this.TagName = "actor";
this.Namespace = Uri.MUC_USER;
}
}
}
Added to ElementFactory:
AddElementType( "actor", Uri.MUC_USER, typeof( agsXMPP.protocol.x.muc.Actor ) );
Hope its ok!
mayprog
Show profile
Link to this post
