You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/components/message/modals/MessageForward.tsx
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,14 @@ type ForwardMeta = {
87
87
original_event_private: boolean;
88
88
};
89
89
90
+
// see https://github.com/hummlbach/matrix-doc/blob/acea0854a1c9489599295a858b068ce02a6b2b20/proposals/2723-add-forward-info.md
91
+
typeMSC2723ForwardMeta={
92
+
event_id: string;
93
+
room_id: string;
94
+
sender: string|null;// we won't set this field
95
+
origin_server_ts: number;
96
+
};
97
+
90
98
exportfunctionMessageForwardInternal({
91
99
room,
92
100
mEvent,
@@ -246,6 +254,12 @@ export function MessageForwardInternal({
246
254
original_event_id: eventId,
247
255
original_event_private: false,
248
256
}satisfiesForwardMeta,
257
+
'com.famedly.app.forwarded': {
258
+
event_id: eventId,
259
+
room_id: room.roomId,
260
+
sender: null,// we won't set this field, as a design decision to avoid potential privacy issues and since the sender can be inferred from the event_id and room_id if needed
0 commit comments