You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-10 05:42:29 +03:00
Say when a call was answered from a different device (#10224)
* Say when a call was answered from a different device * Adjust font size on call tiles to match designs
This commit is contained in:
@@ -72,7 +72,7 @@ export function buildLegacyCallEventGroupers(
|
||||
|
||||
export default class LegacyCallEventGrouper extends EventEmitter {
|
||||
private events: Set<MatrixEvent> = new Set<MatrixEvent>();
|
||||
private call: MatrixCall;
|
||||
private call: MatrixCall | null = null;
|
||||
public state: CallState | CustomCallState;
|
||||
|
||||
public constructor() {
|
||||
@@ -111,7 +111,7 @@ export default class LegacyCallEventGrouper extends EventEmitter {
|
||||
}
|
||||
|
||||
public get hangupReason(): string | null {
|
||||
return this.hangup?.getContent()?.reason;
|
||||
return this.call?.hangupReason ?? this.hangup?.getContent()?.reason ?? null;
|
||||
}
|
||||
|
||||
public get rejectParty(): string {
|
||||
|
||||
Reference in New Issue
Block a user