Bug 26961

Summary: WockyPorter should know its own JID.
Product: Wocky Reporter: Will Thompson <will>
Component: GeneralAssignee: Sjoerd Simons <sjoerd>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 0.0.1   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 28647    

Description Will Thompson 2010-03-08 08:45:13 UTC
The connector returns a connection and the client's JID, but nothing inside Wocky hangs onto that JID. So in Gabble, the GabbleConnection remembers the JID, but WockyPubsubNode (for example) doesn't know its own JID, and hence can't provide useful helpers for subscribing to a node using your full JID or bare JID: the API user has to remember their own JID and pass it in.

Down with that sort of thing.
Comment 1 Simon McVittie 2010-06-22 04:49:03 UTC
To correct the spoofing-detection in Bug #28647, WockyPorter needs to know its own JID; WockySession wouldn't be enough.
Comment 2 Simon McVittie 2010-06-22 11:10:25 UTC
Fixed in git, and in the snapshot in Gabble 0.9.14.
Comment 3 Simon McVittie 2010-06-22 11:10:38 UTC
Fixed in git, and in the snapshot in Gabble 0.9.14.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.