Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
mayprog #1
Member since Mar 2006 · 61 posts
Group memberships: Members
Show profile · Link to this post
Subject: Activate Element constuctor problem
On the agsXMPP.protocol.extensions.bytestreams.Activate element the second constructor is like this:
       public Activate(Jid jid)
       {
           Jid = jid;
       }
you forgot to call this(), so the namespace and Tagname wont ever be set
(it took me 20' to find out why i was senting such a baad Iq to the server...)

I think the correct is:
        public Activate(Jid jid):this()
        {
            Jid = jid;
        }

Hope I am right!
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
yes you are right. Thanks for the fix
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 RSS