Fix conversation sync

This commit is contained in:
Jon Staab
2024-11-13 16:14:05 -08:00
parent da3db67aa6
commit 2d89c152b1
6 changed files with 64 additions and 47 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
<script lang="ts">
import {onMount} from "svelte"
import {page} from "$app/stores"
import {WEEK, ctx, ago} from "@welshman/lib"
import {ctx} from "@welshman/lib"
import {WRAP} from "@welshman/util"
import type {TrustedEvent} from "@welshman/util"
import {pubkey, repository} from "@welshman/app"
@@ -20,7 +20,7 @@
const startChat = () => pushModal(ChatStart)
const promise = pullConservatively({
filters: [{kinds: [WRAP], "#p": [$pubkey!], until: ago(WEEK)}],
filters: [{kinds: [WRAP], "#p": [$pubkey!]}],
relays: ctx.app.router.UserInbox().getUrls(),
})