Include the url preview bundle field in the devtools timeline event editor (#34289)
* added urlpreview field in event editor * oxfmt * claude wrote test! * handled reviews * oxlint fix * formatting * removed useless stubclient
This commit is contained in:
@@ -199,6 +199,9 @@ export const TimelineEventEditor: React.FC<IEditorProps> = ({ mxEvent, onBack })
|
||||
rel_type: "m.replace",
|
||||
event_id: getBaseEventId(mxEvent),
|
||||
},
|
||||
...("com.beeper.linkpreviews" in originalContent
|
||||
? { "com.beeper.linkpreviews": originalContent["com.beeper.linkpreviews"] }
|
||||
: {}),
|
||||
};
|
||||
|
||||
defaultContent = stringify(newContent);
|
||||
|
||||
Reference in New Issue
Block a user