Edit a misleading log line

The factory function is called once per item to construct the item. It is not called on future updates to the item's data.
This commit is contained in:
Robin
2025-12-08 23:38:54 -05:00
parent 2f3f9f95eb
commit 6ee3ef2795

View File

@@ -108,7 +108,7 @@ export function createMatrixLivekitMembers$({
// Each update where the key of the generator array do not change will result in updates to the `data$` observable in the factory.
(scope, data$, participantId, userId) => {
logger.debug(
`Updating data$ for participantId: ${participantId}, userId: ${userId}`,
`Generating member for participantId: ${participantId}, userId: ${userId}`,
);
// will only get called once per `participantId, userId` pair.
// updates to data$ and as a result to displayName$ and mxcAvatarUrl$ are more frequent.