Page MenuHomePhabricator

D10059.diff
No OneTemporary

D10059.diff

diff --git a/native/chat/image-paste-modal.react.js b/native/chat/image-paste-modal.react.js
--- a/native/chat/image-paste-modal.react.js
+++ b/native/chat/image-paste-modal.react.js
@@ -6,6 +6,7 @@
import filesystem from 'react-native-fs';
import type { PhotoPaste } from 'lib/types/media-types.js';
+import type { MinimallyEncodedThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js';
import type { ThreadInfo } from 'lib/types/thread-types.js';
import sleep from 'lib/utils/sleep.js';
@@ -17,7 +18,7 @@
export type ImagePasteModalParams = {
+imagePasteStagingInfo: PhotoPaste,
- +thread: ThreadInfo,
+ +thread: ThreadInfo | MinimallyEncodedThreadInfo,
};
type Props = {

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 6:34 AM (20 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2449724
Default Alt Text
D10059.diff (716 B)

Event Timeline