[Standards] Pubsub: override item id when publish

Peter Saint-Andre stpeter at stpeter.im
Wed Feb 15 16:52:19 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Sergey,

On 2/15/12 9:15 AM, Sergey Dobrov wrote:
> I am working on a gateway to a legacy microblogging network now 
> (juick.com) and I have a problem: items ids have rules that
> predefined by legacy network rules, so I want pubsub publish to
> redefine item id when publish request is done. The XEP-60 describes
> mechanism that can be useful for it (7.1.2. Success case: "If the
> publish request did not include an ItemID, the IQ-result SHOULD
> include an empty <item/> element that specifies the ItemID of the
> published item."), but it doesn't cover the case if user included
> item id.
> 
> So I suggest to add to 7.1.2 that client MUST always check if
> service has changed the item id. Then it will be possible to do
> serial items ids also.
> 
> Do anyone know if this will be a problem for anything?

I think this is similar to joining a chatroom or setting a
resourcepart when logging in: the server has the right to change the
identifier that was provided by the user. So I think this is something
we should fix when we revise XEP-0060 later this year.

Peter

- -- 
Peter Saint-Andre
https://stpeter.im/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk874sMACgkQNL8k5A2w/vyAmQCghecSNitc9NsoCE9h5q4MQmp1
16UAnRhdwFu14AUVBTSCeFQtzakwT1+t
=+ZCA
-----END PGP SIGNATURE-----



More information about the Standards mailing list