@ai-matrx/messaging 0.15.78 → 0.15.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.js CHANGED
@@ -2003,7 +2003,7 @@ function createMessagingRepository(options) {
2003
2003
  }
2004
2004
  async function updateLiveParticipant(operation, conversationId, userId, patch) {
2005
2005
  const destination = await organizationOfExisting(conversationId);
2006
- const { data, error } = await db().from(TABLES.participants).update({ ...patch, organization_id: destination }).eq("conversation_id", conversationId).eq("user_id", userId).eq("organization_id", destination).is("deleted_at", null).select("id").maybeSingle();
2006
+ const { data, error } = await db().from(TABLES.participants).update({ ...patch, organization_id: destination }).eq("conversation_id", conversationId).eq("user_id", userId).is("deleted_at", null).select("id").maybeSingle();
2007
2007
  if (error !== null) throw normalizeMessagingError(error, operation);
2008
2008
  if (data === null) {
2009
2009
  throw writeNotApplied(operation, "participant update returned no live row");