I find that style better as well, but I think there might be a race condition in there where the activities get collected right after the content has been updated but before the message listener has added on the client.