forked from Ivasoft/mattermost-mobile
MM-23687 Fix Android Share Extension (currently can't post) (#4095)
Fixes regression introduced in f5369ac9c5
This commit is contained in:
@@ -194,7 +194,7 @@ public class ShareModule extends ReactContextBaseJavaModule {
|
||||
JSONObject json = new JSONObject();
|
||||
try {
|
||||
json.put("user_id", data.getString("currentUserId"));
|
||||
if (data.hasKey("channel_id")) {
|
||||
if (data.hasKey("channelId")) {
|
||||
json.put("channel_id", data.getString("channelId"));
|
||||
}
|
||||
if (data.hasKey("value")) {
|
||||
|
||||
Reference in New Issue
Block a user