Skip to content

Commit

Permalink
subscribe to only kinds 0,3 from followed users
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalmi committed Oct 12, 2023
1 parent 2c261db commit af62fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/nostr/SocialNetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default {
if (this.followedByUser.get(myId)?.has(follower)) {
if (!PubSub.subscribedAuthors.has(STR(followedUser))) {
setTimeout(() => {
PubSub.subscribe({ authors: [STR(followedUser)] }, undefined, true);
PubSub.subscribe({ authors: [STR(followedUser)], kinds: [0, 3] }, undefined, true);
}, 0);
}
}
Expand Down

0 comments on commit af62fa2

Please sign in to comment.