Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
This commit is contained in:
@@ -25,11 +25,11 @@ export function getActiveCallMembers(room: Room): CallMember[] {
|
||||
|
||||
try {
|
||||
const stateEvents = room.currentState.getStateEvents(CALL_MEMBER_EVENT_TYPE);
|
||||
|
||||
|
||||
stateEvents.forEach((event) => {
|
||||
const content = event.getContent();
|
||||
const userId = event.getStateKey();
|
||||
|
||||
|
||||
if (!userId || !content['m.calls']) return;
|
||||
|
||||
const calls = content['m.calls'];
|
||||
@@ -41,7 +41,7 @@ export function getActiveCallMembers(room: Room): CallMember[] {
|
||||
|
||||
devices.forEach((device) => {
|
||||
const expiresTs = device.expires_ts || 0;
|
||||
|
||||
|
||||
// Check if the call membership is still valid (not expired)
|
||||
if (expiresTs > now) {
|
||||
members.push({
|
||||
|
||||
Reference in New Issue
Block a user