mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-09 23:16:50 +02:00
fix: remove limit from NIP-17 gift wrap query
Fetch all gift wraps (kind 1059) instead of limiting to 100, ensuring no encrypted DMs are missed when loading conversations.
This commit is contained in:
@@ -319,10 +319,10 @@ export class Nip17Adapter extends ChatProtocolAdapter {
|
||||
);
|
||||
|
||||
// Subscribe to kind 1059 (gift wraps) addressed to us
|
||||
// No limit - fetch all gift wraps to ensure we don't miss any
|
||||
const filter: Filter = {
|
||||
kinds: [1059],
|
||||
"#p": [activePubkey],
|
||||
limit: options?.limit || 100,
|
||||
};
|
||||
|
||||
if (options?.before) {
|
||||
|
||||
Reference in New Issue
Block a user