fix: correct local timeline stream (#2707)

This commit is contained in:
Sma11X 2024-03-21 18:08:51 +08:00 committed by GitHub
parent e9ab0cd40b
commit 0133324ded
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
<script setup lang="ts">
const paginator = useMastoClient().v1.timelines.public.list({ limit: 30, local: true })
const stream = useStreaming(client => client.direct.subscribe())
const stream = useStreaming(client => client.public.local.subscribe())
</script>
<template>