Skip to content

Commit b4e8879

Browse files
authored
Merge pull request #64 from JoshLipan/dev
Add path parameter for file message
2 parents c2e6ce0 + dd01a23 commit b4e8879

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/io/jchat/android/utils/ResultUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ public static WritableMap toJSObject(Message msg) {
183183
case file:
184184
result.putString(Constant.TYPE, Constant.FILE);
185185
FileContent fileContent = (FileContent) content;
186+
result.putString(Constant.PATH, fileContent.getLocalPath());
186187
result.putString(Constant.FILE_NAME, fileContent.getFileName());
187188
break;
188189
case custom:

0 commit comments

Comments
 (0)