]> granicus.if.org Git - ejabberd/commit
mod_private: Hardcode item ID for PEP bookmarks
authorHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 8 Jan 2019 20:23:21 +0000 (21:23 +0100)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Tue, 8 Jan 2019 20:23:21 +0000 (21:23 +0100)
commitc3a807832dac01d0668233853c17deb73702114f
treeb99b665fae0bc634fa167bd5f24176557cfd1ae6
parentedf03b0f3de1a9815803dc56f51efe6d28a721f9
mod_private: Hardcode item ID for PEP bookmarks

Set the item ID to "current" when publishing bookmarks via PEP.
XEP-0060 says: For singleton nodes, "it is RECOMMENDED for the publisher
to specify an ItemID of 'current' to ensure that the publication of a
new item will overwrite the existing item."
src/mod_private.erl