feat: conversations (#277)
This commit is contained in:
parent
1c3e54c895
commit
3c81a13acb
25 changed files with 417 additions and 350 deletions
|
|
@ -97,12 +97,16 @@ export default function ReplyNoteList({
|
|||
const seenOn = client.getSeenEventRelayUrls(rootInfo.id)
|
||||
relayUrls.unshift(...seenOn)
|
||||
const { closer, timelineKey } = await client.subscribeTimeline(
|
||||
relayUrls.slice(0, 5),
|
||||
{
|
||||
'#e': [rootInfo.id],
|
||||
kinds: [kinds.ShortTextNote],
|
||||
limit: LIMIT
|
||||
},
|
||||
[
|
||||
{
|
||||
urls: relayUrls.slice(0, 5),
|
||||
filter: {
|
||||
'#e': [rootInfo.id],
|
||||
kinds: [kinds.ShortTextNote],
|
||||
limit: LIMIT
|
||||
}
|
||||
}
|
||||
],
|
||||
{
|
||||
onEvents: (evts, eosed) => {
|
||||
if (evts.length > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue