diff options
Diffstat (limited to 'packages/frontend/src/stream.ts')
| -rw-r--r-- | packages/frontend/src/stream.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/stream.ts b/packages/frontend/src/stream.ts index a807d1d306..a7e4ecd42d 100644 --- a/packages/frontend/src/stream.ts +++ b/packages/frontend/src/stream.ts @@ -19,7 +19,7 @@ export function useStream(): Misskey.Stream { function heartbeat(): void { if (stream != null && document.visibilityState === 'visible') { - stream.send('ping'); + stream.heartbeat(); } window.setTimeout(heartbeat, 1000 * 60); } |