mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Move agent activity below composer (#579)
Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Wes <wesb@block.xyz>
This commit is contained in:
co-authored by
Cursor
Wes
parent
bda98da771
commit
aad564b130
@@ -277,12 +277,12 @@ export class RelayClient {
|
||||
kinds: [KIND_TYPING_INDICATOR],
|
||||
"#h": [channelId],
|
||||
limit: 10,
|
||||
since: Math.floor(Date.now() / 1_000) - 10,
|
||||
},
|
||||
onEvent,
|
||||
);
|
||||
}
|
||||
|
||||
/** Subscribe to kind:20001 presence events (live only, no backfill). */
|
||||
async subscribeToPresenceUpdates(onEvent: (event: RelayEvent) => void) {
|
||||
return this.subscribe({ kinds: [20001], limit: 0 }, onEvent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user