Skip to content

Commit bf95e55

Browse files
committed
update relation string to match msc
1 parent ad793c1 commit bf95e55

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/@types/event.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ export enum RelationType {
163163
// moreover, our tests currently use the unstable prefix. Use THREAD_RELATION_TYPE.name.
164164
// Once we support *only* the stable prefix, THREAD_RELATION_TYPE can die and we can switch to this.
165165
Thread = "m.thread",
166-
unstable_RTCParentEvent = "org.matrix.msc4075.rtc.parent_event",
167-
unstable_RTCDecline = "org.matrix.msc4075.rtc.decline",
166+
unstable_RTCNotificationParent = "org.matrix.msc4075.rtc.notification.parent",
167+
unstable_RTCNotificationDecline = "org.matrix.msc4075.rtc.notification.decline",
168168
}
169169

170170
export enum MsgType {

src/matrixrtc/MatrixRTCSession.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ export class MatrixRTCSession extends TypedEventEmitter<
582582
"notification_type": notificationType,
583583
"m.relates_to": {
584584
event_id: parentEventId,
585-
rel_type: RelationType.unstable_RTCParentEvent,
585+
rel_type: RelationType.unstable_RTCNotificationParent,
586586
},
587587
"sender_ts": Date.now(),
588588
"lifetime": 30_000, // 30 seconds

0 commit comments

Comments
 (0)