Closed WofWca closed 1 year ago
I remember we talked about replacing selfName and selfAddr with some faceless UUIDs. I think it needs to be reconsidered.
replacing email address makes sense, also we should provide sender information with each update outside of the payload (put there by core):
{
payload:{...},
author: { id: /* local contact id hashed together with chat id */, displayname: string}
}
For avatars we can then have a virtual directory (served by core) inside of the webxdc that serves the avatar pictures:
/webxdc-avatars/{author.id}.jpg
Avatars and display names can both change over time. It might make sense to have a webxdc.getUserProfile(author.id)
call that can return relevant display name / virtual path / anything else
We now have
selfName
andselfAddr
. I thought that avatars would also make sense.I remember we talked about replacing
selfName
andselfAddr
with some faceless UUIDs. I think it needs to be reconsidered.