From a89433596ba44cd92785bfdbd0c7b264f6eff110 Mon Sep 17 00:00:00 2001 From: Ben Halpern Date: Wed, 27 Jun 2018 16:24:35 -0400 Subject: [PATCH] Small /connect adjustment (#504) --- app/javascript/chat/chat.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/chat/chat.jsx b/app/javascript/chat/chat.jsx index ab770945c..e99d0a3da 100644 --- a/app/javascript/chat/chat.jsx +++ b/app/javascript/chat/chat.jsx @@ -291,7 +291,7 @@ export default class Chat extends Component { }; handleChannelScroll = e => { - if (this.state.fetchingPaginatedChannels || this.state.chatChannels.length < 24) { + if (this.state.fetchingPaginatedChannels || this.state.chatChannels.length < 23) { return } this.setState({fetchingPaginatedChannels: true})