AnsweredAssumed Answered

I'm not so sure there maybe something wrong in the class 'Affiliation' in package 'org.jivesoftware.smackx.pubsub' .

Question asked by 戚琦 on Nov 30, 2015
Latest reply on Dec 20, 2015 by 戚琦

Hello , I look into the source code in package 'org.jivesoftware.smackx.pubsub' of sub project 'smack-extensions'. It seems class 'Affiliation' is the element extension of '<affiliation jid='hamlet@denmark.lit' affiliation='owner'/>', but the Affiliation.getElementName() return "subscription"(inconsistent with 'affiliation'). I'm not so sure whether it should be fixed.

 

Thanks

Qi

Outcomes