mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)
This is happens if the account is new and doesn't have any bookmarks yet, which is not a problem. Rarely seen since most clients currently use the older version of XEP-0084 stored in XEP-0049 rather than in PEP, but at least one (Converse.js )does. One scenario in which this would show up often is with Converse.js as a guest chat using anonymous authentication, where all "accounts" would always be new and not have any bookmarks. This scenario probably does not need to have mod_bookmarks at all, but if enabled globally it would likely become loaded onto the VirtualHost unless explicitly disabled.
This commit is contained in:
parent
9f51add3a8
commit
96301b2229
2 changed files with 32 additions and 1 deletions
27
spec/scansion/empty_bookmarks.scs
Normal file
27
spec/scansion/empty_bookmarks.scs
Normal file
|
@ -0,0 +1,27 @@
|
|||
# mod_scansion_record on host 'localhost' recording started 2022-07-26T21:39:55Z
|
||||
|
||||
[Client] Romeo
|
||||
password: password
|
||||
jid: juliet@localhost/UaksS4M1xYZB
|
||||
|
||||
-----
|
||||
|
||||
Romeo connects
|
||||
|
||||
Romeo sends:
|
||||
<iq xml:lang='en' type='get' id='bNBJLtpIJXpq'>
|
||||
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||
<items node='storage:bookmarks'/>
|
||||
</pubsub>
|
||||
</iq>
|
||||
|
||||
Romeo receives:
|
||||
<iq id='bNBJLtpIJXpq' type='error'>
|
||||
<error type='cancel'>
|
||||
<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
||||
</error>
|
||||
</iq>
|
||||
|
||||
Romeo disconnects
|
||||
|
||||
# recording ended on 2022-07-26T21:40:45Z
|
Loading…
Add table
Add a link
Reference in a new issue