jb55 on Nostr: sure, the function is load_profiles and it takes a list of events to load profiles ...
sure, the function is load_profiles and it takes a list of events to load profiles from. It just needs to include event.inner_event events on reposted events (called boost events in the codebase). inner_event is the event being reposted and is encoded as json on repost events.
Published at
2023-04-09 16:15:16Event JSON
{
"id": "aca7297196ae424937286e9bc41035138060d77c3ca6aa6228868b929c748d2b",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1681056916,
"kind": 1,
"tags": [
[
"e",
"dba9b64349557354b0c9087249d1ce2ab34cf3677fb7d28fc079f07c3e50ba88"
],
[
"e",
"c7a3d247494541ba2b362a069f8d2b76e4533aff98a6242ca118d8d1f18dde98"
],
[
"p",
"0cc0cf586ebed5d568315b585089c84b320b0c3a7f37ab9ba9d45803407fbb9c"
]
],
"content": "sure, the function is load_profiles and it takes a list of events to load profiles from. It just needs to include event.inner_event events on reposted events (called boost events in the codebase). inner_event is the event being reposted and is encoded as json on repost events.",
"sig": "3238cef77d4c42ef7864d9aa49c658a4496a74026a61214b9964392342b42babfd0c3cb3ce0eda80509551f35889c995e71e5c53eea270b6187968a26c4fee65"
}