Comparison

spec/scansion/empty_bookmarks.scs @ 12593:1832b6c9c6ed 0.12

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.
author Kim Alvefur <zash@zash.se>
date Tue, 26 Jul 2022 23:44:33 +0200
comparison
equal deleted inserted replaced
12592:d580e6a57cbb 12593:1832b6c9c6ed
1 # mod_scansion_record on host 'localhost' recording started 2022-07-26T21:39:55Z
2
3 [Client] Romeo
4 password: password
5 jid: juliet@localhost/UaksS4M1xYZB
6
7 -----
8
9 Romeo connects
10
11 Romeo sends:
12 <iq xml:lang='en' type='get' id='bNBJLtpIJXpq'>
13 <pubsub xmlns='http://jabber.org/protocol/pubsub'>
14 <items node='storage:bookmarks'/>
15 </pubsub>
16 </iq>
17
18 Romeo receives:
19 <iq id='bNBJLtpIJXpq' type='error'>
20 <error type='cancel'>
21 <item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
22 </error>
23 </iq>
24
25 Romeo disconnects
26
27 # recording ended on 2022-07-26T21:40:45Z