mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-06-14 19:01:14 +02:00
if a user is followed, their events are requested too
This commit is contained in:
parent
0eff610aeb
commit
ef75ba3fad
@ -387,6 +387,7 @@ Future<void> otherMenuUi(Store node) async {
|
|||||||
} else {
|
} else {
|
||||||
print("The contact already exists in the contact list. Republishing the old contact list.");
|
print("The contact already exists in the contact list. Republishing the old contact list.");
|
||||||
sendEvent(node, contactEvent);
|
sendEvent(node, contactEvent);
|
||||||
|
getUserEvents(gListRelayUrls1, pk, gLimitPerSubscription, getSecondsDaysAgo(gDaysToGetEventsFor));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO fix the send event functions by streamlining them
|
// TODO fix the send event functions by streamlining them
|
||||||
@ -403,6 +404,7 @@ Future<void> otherMenuUi(Store node) async {
|
|||||||
EventData newEventData = EventData(newId, newPubkey, newCreatedAt, newKind, newContent, newEtags, newPtags, newContactList, newTags, newNewLikes,);
|
EventData newEventData = EventData(newId, newPubkey, newCreatedAt, newKind, newContent, newEtags, newPtags, newContactList, newTags, newNewLikes,);
|
||||||
Event newEvent = Event( "EVENT", newId, newEventData, [], "");
|
Event newEvent = Event( "EVENT", newId, newEventData, [], "");
|
||||||
sendEvent(node, newEvent);
|
sendEvent(node, newEvent);
|
||||||
|
getUserEvents(gListRelayUrls1, pk, gLimitPerSubscription, getSecondsDaysAgo(gDaysToGetEventsFor));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user