Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3532685
D7290.id24585.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
617 B
Referenced Files
None
Subscribers
None
D7290.id24585.diff
View Options
diff --git a/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp b/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
--- a/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
+++ b/native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
@@ -256,6 +256,11 @@
: jsi::Value::null());
jsiThread.setProperty(rt, "repliesCount", thread.replies_count);
+ if (thread.avatar) {
+ auto avatar = jsi::String::createFromUtf8(rt, *thread.avatar);
+ jsiThread.setProperty(rt, "avatar", avatar);
+ }
+
jsiThreads.setValueAtIndex(rt, writeIdx++, jsiThread);
}
return jsiThreads;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 9:33 AM (11 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2705181
Default Alt Text
D7290.id24585.diff (617 B)
Attached To
Mode
D7290: [CommCoreModule] Handle `thread.avatar` in `parseDBThreads`
Attached
Detach File
Event Timeline
Log In to Comment