Drop initial room load from 20 per list to 10
parent
7621fe2682
commit
7662b990a3
|
@ -106,7 +106,7 @@ const ENCRYPTED_SUBSCRIPTION = Object.assign(
|
||||||
// on the count for each one.
|
// on the count for each one.
|
||||||
const sssLists: Record<string, MSC3575List> = {
|
const sssLists: Record<string, MSC3575List> = {
|
||||||
spaces: {
|
spaces: {
|
||||||
ranges: [[0, 20]],
|
ranges: [[0, 10]],
|
||||||
timeline_limit: 0, // we don't care about the most recent message for spaces
|
timeline_limit: 0, // we don't care about the most recent message for spaces
|
||||||
required_state: REQUIRED_STATE_LIST,
|
required_state: REQUIRED_STATE_LIST,
|
||||||
include_old_rooms: {
|
include_old_rooms: {
|
||||||
|
@ -118,7 +118,7 @@ const sssLists: Record<string, MSC3575List> = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
invites: {
|
invites: {
|
||||||
ranges: [[0, 20]],
|
ranges: [[0, 10]],
|
||||||
timeline_limit: 1, // most recent message display
|
timeline_limit: 1, // most recent message display
|
||||||
required_state: REQUIRED_STATE_LIST,
|
required_state: REQUIRED_STATE_LIST,
|
||||||
include_old_rooms: {
|
include_old_rooms: {
|
||||||
|
@ -130,7 +130,7 @@ const sssLists: Record<string, MSC3575List> = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
favourites: {
|
favourites: {
|
||||||
ranges: [[0, 20]],
|
ranges: [[0, 10]],
|
||||||
timeline_limit: 1, // most recent message display
|
timeline_limit: 1, // most recent message display
|
||||||
required_state: REQUIRED_STATE_LIST,
|
required_state: REQUIRED_STATE_LIST,
|
||||||
include_old_rooms: {
|
include_old_rooms: {
|
||||||
|
@ -142,7 +142,7 @@ const sssLists: Record<string, MSC3575List> = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
dms: {
|
dms: {
|
||||||
ranges: [[0, 20]],
|
ranges: [[0, 10]],
|
||||||
timeline_limit: 1, // most recent message display
|
timeline_limit: 1, // most recent message display
|
||||||
required_state: REQUIRED_STATE_LIST,
|
required_state: REQUIRED_STATE_LIST,
|
||||||
include_old_rooms: {
|
include_old_rooms: {
|
||||||
|
@ -158,7 +158,7 @@ const sssLists: Record<string, MSC3575List> = {
|
||||||
},
|
},
|
||||||
untagged: {
|
untagged: {
|
||||||
// SSS will dupe suppress invites/dms from here, so we don't need "not dms, not invites"
|
// SSS will dupe suppress invites/dms from here, so we don't need "not dms, not invites"
|
||||||
ranges: [[0, 20]],
|
ranges: [[0, 10]],
|
||||||
timeline_limit: 1, // most recent message display
|
timeline_limit: 1, // most recent message display
|
||||||
required_state: REQUIRED_STATE_LIST,
|
required_state: REQUIRED_STATE_LIST,
|
||||||
include_old_rooms: {
|
include_old_rooms: {
|
||||||
|
|
Loading…
Reference in New Issue