Skip to main content

ChatSearchCalculateIgnoredRoomsOffset

Callable

  • ChatSearchCalculateIgnoredRoomsOffset(shownRooms: number): number

  • Calculates starting offset for the ignored rooms list when displaying results in filter/permission mode.


    Parameters

    • shownRooms: number

      Number of rooms shown before the ignored rooms.

    Returns number

    • Starting offset for ingored rooms