- let creator =
- get_or_fetch_and_upsert_person(¬e.attributed_to, context, request_counter).await?;
- let recipient = get_or_fetch_and_upsert_person(¬e.to, context, request_counter).await?;
+ let creator = note
+ .attributed_to
+ .dereference(context, request_counter)
+ .await?;
+ let recipient = note.to.dereference(context, request_counter).await?;