Page MenuHomePhabricator

D13560.id.diff
No OneTemporary

D13560.id.diff

diff --git a/web/chat/chat-message-list.react.js b/web/chat/chat-message-list.react.js
--- a/web/chat/chat-message-list.react.js
+++ b/web/chat/chat-message-list.react.js
@@ -17,7 +17,11 @@
threadOtherMembers,
} from 'lib/shared/thread-utils.js';
import type { ThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js';
-import { threadTypeIsPersonal } from 'lib/types/thread-types-enum.js';
+import {
+ threadTypeIsPersonal,
+ threadTypeIsThick,
+} from 'lib/types/thread-types-enum.js';
+import sleep from 'lib/utils/sleep.js';
import { defaultMaxTextAreaHeight, editBoxHeight } from './chat-constants.js';
import css from './chat-message-list.css';
@@ -378,6 +382,9 @@
this.loadingFromScroll = true;
try {
+ if (threadTypeIsThick(this.props.threadInfo.type)) {
+ await sleep(100);
+ }
await this.props.fetchMessages();
} finally {
this.loadingFromScroll = false;

File Metadata

Mime Type
text/plain
Expires
Wed, Oct 2, 7:18 PM (21 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2219141
Default Alt Text
D13560.id.diff (944 B)

Event Timeline