AI character chat - MessageAdded event

I see that there has been an update and the memories feature is back in. Nice. However, the MessageAdded event in my custom code is now not getting executed. I added a console.log as the first line in the handler:

oc.thread.on("MessageAdded", async function({ message }) {
console.log("----------message added-------------");

And it is not getting triggered any more. It was working and I haven't changed the code. Has this changed or is this maybe a bug? Thanks!