mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 05:54:19 +01:00
fix: useFollowers
This commit is contained in:
@@ -18,6 +18,7 @@ export default function useFollowers(propsProvider: () => UseFollowersProps) {
|
||||
relayUrls: config().relayUrls,
|
||||
filters: [{ kinds: [Kind.Contacts], '#p': [props().pubkey] }],
|
||||
limit: 1000000,
|
||||
eoseLimit: 1000000,
|
||||
continuous: false,
|
||||
}));
|
||||
|
||||
|
||||
@@ -120,8 +120,7 @@ const useSubscription = (propsProvider: () => UseSubscriptionProps | null) => {
|
||||
relayUrls,
|
||||
filters,
|
||||
options ?? {
|
||||
eoseTimeout: 12000,
|
||||
maxWait: 6000,
|
||||
maxWait: 12000,
|
||||
onevent: (event: NostrEvent) => {
|
||||
if (onEvent != null) {
|
||||
onEvent(event as NostrEvent & { id: string });
|
||||
|
||||
Reference in New Issue
Block a user