MessageCollectionHandler with Provider

Hi, I have recently switched to using to using the MessageCollection and while I can get everything to work using the sample app as a guide, I find that setting state again when a message is received (as per the sample MyMessageCollectionHandler) to not be very performant. I am trying therefore to combine with using the provider package, but I am struggling with how to integrate MyMessageCollectionHandler into it so that the collection updates when a new message is received.

Any advice?

I resolved this issue :smiley: