mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-04-18 00:31:13 +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 {
|
||||
print("The contact already exists in the contact list. Republishing the old contact list.");
|
||||
sendEvent(node, contactEvent);
|
||||
getUserEvents(gListRelayUrls1, pk, gLimitPerSubscription, getSecondsDaysAgo(gDaysToGetEventsFor));
|
||||
}
|
||||
} else {
|
||||
// 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,);
|
||||
Event newEvent = Event( "EVENT", newId, newEventData, [], "");
|
||||
sendEvent(node, newEvent);
|
||||
getUserEvents(gListRelayUrls1, pk, gLimitPerSubscription, getSecondsDaysAgo(gDaysToGetEventsFor));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user