Page MenuHomePhabricator

D10059.id33764.diff
No OneTemporary

D10059.id33764.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
Fri, Dec 27, 8:30 AM (9 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2708514
Default Alt Text
D10059.id33764.diff (716 B)

Event Timeline