Proper way to purge chats


  • Plugin & Theme Dev

    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


  • Plugin & Theme Dev

    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:

    Screen Shot 2015-10-14 at 11.55.39 PM.png


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.