mirror of https://github.com/vector-im/riot-web
Load fewer events when switching to a room: they take surprisingly long to render.
parent
980ce7fdae
commit
b32658cfd0
|
@ -25,7 +25,7 @@ var sdk = require('../../index');
|
||||||
var dis = require("../../dispatcher");
|
var dis = require("../../dispatcher");
|
||||||
|
|
||||||
var PAGINATE_SIZE = 20;
|
var PAGINATE_SIZE = 20;
|
||||||
var INITIAL_SIZE = 100;
|
var INITIAL_SIZE = 20;
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
getInitialState: function() {
|
getInitialState: function() {
|
||||||
|
|
Loading…
Reference in New Issue