Missing repost preview on not cached events #401

Open
opened 2023-06-13 22:55:16 +12:00 by dtonon · 1 comment
dtonon commented 2023-06-13 22:55:16 +12:00 (Migrated from github.com)

Reposting a reposted note does not activate the preview if the original event isn't in the cache:

image

nevent1qqsqv9am8ppncmjxwzaq9ul54wmh3yve0v3xwalvjacm2kk3ntls8dqpz9mhxue69uhkummnw3ezuamfdejj7x07dhu

If I submit the note I get an alert:

image

Perhaps we can just copy the stringified JSON of the reposted note and use it both in the preview and to create the new kind 6 event?

Reposting a reposted note does not activate the preview if the original event isn't in the cache: <img width="1161" alt="image" src="https://github.com/mikedilger/gossip/assets/89577423/39a8f561-9262-40cf-b982-744cbd7f5f39"> nevent1qqsqv9am8ppncmjxwzaq9ul54wmh3yve0v3xwalvjacm2kk3ntls8dqpz9mhxue69uhkummnw3ezuamfdejj7x07dhu If I submit the note I get an alert: ![image](https://github.com/mikedilger/gossip/assets/89577423/b609fdba-6c83-4fac-8d9e-dfaae0be4603) Perhaps we can just copy the stringified JSON of the reposted note and use it both in the preview and to create the new kind 6 event?
mikedilger commented 2023-06-14 16:34:42 +12:00 (Migrated from github.com)

Yeah that sounds good

Yeah that sounds good
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nostr/gossip#401
No description provided.