Re: [prosody-dev] engine:select fetching old data

2021-02-27 Thread Thilo Molitor
I've written exactly that: a prosody module providing a http api to create/ delete muc rooms and/or add remove users to/from these rooms (attached to this email). It can pull config via http and handles config pushes. The data is json for both cases. Authentication is done via a simple secret

Re: [prosody-dev] engine:select fetching old data

2021-02-27 Thread Kim Alvefur
Hi, On Sat, Feb 27, 2021 at 05:59:26AM -0800, genilt...@gmail.com wrote: I have an administration panel that changes the prosody's DB (Mysql). When I add more users (affiliations) to the muc, the prosody does not update. And when I select inside one module, it does not bring the updated data

[prosody-dev] engine:select fetching old data

2021-02-27 Thread genilt...@gmail.com
I have an administration panel that changes the prosody's DB (Mysql). When I add more users (affiliations) to the muc, the prosody does not update. And when I select inside one module, it does not bring the updated data that is in the DB. Tried with: engine:select("SELECT SQL_NO_CACHE `value`