@andrei-lopatenco You are correct, there is no Flags API at the moment... there never was one for the Write API plugin, and when it got ported into core, we didn't make one either.
But it sounds like a good idea.
Hi guys,
After migration to NodeBB I have found that there is a problem with chats.
Could you recommend proper way of purging chats? So I will take into account all edge-cases in process: reseting counters, etc.
Thanks
I will answer myself on question.
You need to remove these documents (_key
pattern) from objects
collection:
message:8
messages:uid:8:to:16
uid:1:chats
* where numbers are identifiers
Or if you don't want to do it manually, you could wait for future NodeBB Utils plugin: