Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3407815
D9333.id31578.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
988 B
Referenced Files
None
Subscribers
None
D9333.id31578.diff
View Options
diff --git a/native/chat/chat.react.js b/native/chat/chat.react.js
--- a/native/chat/chat.react.js
+++ b/native/chat/chat.react.js
@@ -25,10 +25,7 @@
import ThreadDraftUpdater from 'lib/components/thread-draft-updater.react.js';
import { isLoggedIn } from 'lib/selectors/user-selectors.js';
-import {
- threadIsPending,
- threadMembersWithoutAddedAshoat,
-} from 'lib/shared/thread-utils.js';
+import { threadIsPending } from 'lib/shared/thread-utils.js';
import BackgroundChatThreadList from './background-chat-thread-list.react.js';
import ChatHeader from './chat-header.react.js';
@@ -219,8 +216,7 @@
const messageListOptions = ({ navigation, route }) => {
const isSearchEmpty =
- !!route.params.searching &&
- threadMembersWithoutAddedAshoat(route.params.threadInfo).length === 1;
+ !!route.params.searching && route.params.threadInfo.members.length === 1;
const areSettingsEnabled =
!threadIsPending(route.params.threadInfo.id) && !isSearchEmpty;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 5, 7:57 AM (15 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2614763
Default Alt Text
D9333.id31578.diff (988 B)
Attached To
Mode
D9333: [native] Remove threadMembersWithoutAddedAshoat check for ThreadInfo
Attached
Detach File
Event Timeline
Log In to Comment