mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-12-02 00:37:30 +01:00
code formatting
This commit is contained in:
@@ -431,7 +431,7 @@ class Store {
|
|||||||
|
|
||||||
Set<String> newEventIdsSet = {};
|
Set<String> newEventIdsSet = {};
|
||||||
|
|
||||||
// add the event to the man store thats allChildEventsMap
|
// add the event to the main event store thats allChildEventsMap
|
||||||
newEventsSetToProcess.forEach((newEvent) {
|
newEventsSetToProcess.forEach((newEvent) {
|
||||||
|
|
||||||
if( allChildEventsMap.containsKey(newEvent.eventData.id)) {// don't process if the event is already present in the map
|
if( allChildEventsMap.containsKey(newEvent.eventData.id)) {// don't process if the event is already present in the map
|
||||||
@@ -517,7 +517,7 @@ class Store {
|
|||||||
|
|
||||||
if(gDebug > 0) print("In end of insertEvents: Returning ${newEventIdsSet.length} new notification-type events, which are ${newEventIdsSet.length < 10 ? newEventIdsSet: " <had more than 10 elements"} ");
|
if(gDebug > 0) print("In end of insertEvents: Returning ${newEventIdsSet.length} new notification-type events, which are ${newEventIdsSet.length < 10 ? newEventIdsSet: " <had more than 10 elements"} ");
|
||||||
return newEventIdsSet;
|
return newEventIdsSet;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************************************************************************/
|
/***********************************************************************************************************************************/
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user