Skip to content

Active user counter should only show users that are currently recording #30

@ascpixi

Description

@ascpixi

This is a simple change - instead of emitting heartbeats anywhere...

useInterval(async () => {
if (auth.currentUser) {
await trpc.user.emitHeartbeat.mutate({});
}
}, 30 * 1000);

...only emit them when recording on /timelapse/create.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions