mirror of
https://github.com/vishalxl/nostr_console.git
synced 2025-03-27 02:01:51 +01:00
fixed bug in fromEvents so only kind 1 are put in trees
This commit is contained in:
parent
5c9468161a
commit
ebbc1776c0
@ -1062,6 +1062,10 @@ class Store {
|
||||
print("In fromEvent: got evnet id $gCheckEventId");
|
||||
}
|
||||
|
||||
if( tree.event.eventData.kind != 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
// find its parent and then add this element to that parent Tree
|
||||
String parentId = tree.event.eventData.getParent(tempChildEventsMap);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user