Function sanitizeMemberDetails

  • Configures what properties of connections in a room to return via api.chatRoom.roomStatus

    Parameters

    • memberData: {
          id: string;
          joinedAt: number;
          [key: string]: any;
      }
      • [key: string]: any
      • id: string
      • joinedAt: number

    Returns Promise<{
        id: string;
        joinedAt: number;
    }>