Skip to content

Commit db55170

Browse files
committed
comment cleanup
1 parent b85736a commit db55170

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: src/matrixrtc/MatrixRTCSession.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export interface MembershipConfig {
6161
*
6262
* This is what goes into the m.rtc.member event expiry field.
6363
*/
64-
membershipEventExpiry?: number; // hours
64+
membershipEventExpiry?: number;
6565

6666
/**
6767
* The minimum delay (in milliseconds) after which we will retry sending the membership event if it
@@ -73,13 +73,12 @@ export interface MembershipConfig {
7373
* The timeout (in milliseconds) with which the deleayed leave event on the server is configured.
7474
* After this time the server will set the event to the disconnected stat if it has not received a keep-alive from the client.
7575
*/
76-
// I would like to rename this to `delayedLeaveEventDelay` (having the word delayed, event, and leave is helpful i think)
77-
delayedLeaveEventDelay?: number; // 15s
76+
delayedLeaveEventDelay?: number;
7877

7978
/**
8079
* The interval (in milliseconds) in which the client will send membership keep-alives to the server.
8180
*/
82-
delayedLeaveEventRestartPeriod?: number; // 5s
81+
delayedLeaveEventRestartPeriod?: number;
8382

8483
/**
8584
* @deprecated It should be possible to make it stable without this.

0 commit comments

Comments
 (0)