fix remove bookmark#3823
Conversation
d2e96ee to
141e163
Compare
|
Thanks @ChaosKid42 for making this PR. There's a slightly older PR to fix #3815 here: I think that PR is more correct because with XEP-0048 PEP it's a single item that contains all bookmarks which needs to be updated and so a |
|
I don't mind if the other PR is used. Whatever works is fine for me. I thought BOOKMARKS2 was associated with XEP-0402. The examples in the document make use of retract. That's the reason I implemented it the way it is. |
Yes, but the fallback BOOKMARKS uses XEP-0048 (with PEP). |
|
Ah I see. The other PR is supposed to work for XEP-048, too. So I basically agree with your assessment with one exception: Shouldn't the other PR use retract in case of XEP-0402? |
|
Oh, I missed that difference. I've asked for clarification: https://github.com/conversejs/converse.js/pull/3821/files#r2315090585 |
fixes #3815