feat: enhance session event handling by including userId for client-side filtering and updating SessionLiveWrapper with currentUserId
This commit is contained in:
@@ -66,6 +66,7 @@ export async function GET(
|
||||
`data: ${JSON.stringify({
|
||||
type: event.type,
|
||||
payload: JSON.parse(event.payload),
|
||||
userId: event.userId, // Include userId for client-side filtering
|
||||
user: event.user,
|
||||
timestamp: event.createdAt,
|
||||
})}\n\n`
|
||||
|
||||
Reference in New Issue
Block a user