Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Avatar
mayprog #1
Member since Mar 2006 · 61 posts
Group memberships: Members
Show profile · Link to this post
Subject: Muc.Item does not have Actor element
Added to agsXMPP.protocol.x.muc.Item :
public Actor 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;
        }
    }
}

Added to ElementFactory:
AddElementType( "actor",            Uri.MUC_USER,                typeof( agsXMPP.protocol.x.muc.Actor ) );

Hope its ok!
Avatar
Alex #2
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
hi,

thanks for this post. Hopefully i have time tomorrow to look at this and add it to the codebase with the other latest MUC changes.

Alex
Alexander Gnauck
AG-Software
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP SDK Support RSS