Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 17506f7

Browse files
committed
Iterate
Signed-off-by: Michael Telatynski <[email protected]>
1 parent 939147c commit 17506f7

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/components/views/messages/MFileBody.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ export default class MFileBody extends React.Component<IProps, IState> {
110110

111111
public state: IState = {};
112112

113-
public state: IState = {};
114-
115113
public static defaultProps = {
116114
showGenericPlaceholder: true,
117115
};

src/models/Call.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ interface CallEventHandlerMap {
126126
* A group call accessed through a widget.
127127
*/
128128
export abstract class Call extends TypedEventEmitter<CallEvent, CallEventHandlerMap> {
129-
protected readonly widgetUid;
130-
protected readonly room;
129+
protected readonly widgetUid: string;
130+
protected readonly room: Room;
131131

132132
/**
133133
* The time after which device member state should be considered expired.

test/test-utils/call.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class MockedCall extends Call {
6868
CallStore.instance.updateRoom(room);
6969
}
7070

71-
public readonly groupCall;
71+
public readonly groupCall: GroupCall;
7272

7373
public get participants(): Map<RoomMember, Set<string>> {
7474
return super.participants;

0 commit comments

Comments
 (0)