mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 22:57:29 +00:00
Fix no vc_id in VIDEO_CALL_EVENT
This commit is contained in:
parent
d1a9393249
commit
3dfbf23cc0
@ -453,7 +453,7 @@ public final class ResponseBodyUtils {
|
|||||||
|
|
||||||
case VIDEO_CALL_EVENT: {
|
case VIDEO_CALL_EVENT: {
|
||||||
final JSONObject videoCallEvent = itemObject.getJSONObject("video_call_event");
|
final JSONObject videoCallEvent = itemObject.getJSONObject("video_call_event");
|
||||||
videoCallEventModel = new DirectItemModel.DirectItemVideoCallEventModel(videoCallEvent.getLong("vc_id"),
|
videoCallEventModel = new DirectItemModel.DirectItemVideoCallEventModel(videoCallEvent.optLong("vc_id"),
|
||||||
videoCallEvent.optBoolean("thread_has_audio_only_call"),
|
videoCallEvent.optBoolean("thread_has_audio_only_call"),
|
||||||
videoCallEvent.getString("action"),
|
videoCallEvent.getString("action"),
|
||||||
videoCallEvent.getString("description"));
|
videoCallEvent.getString("description"));
|
||||||
|
Loading…
Reference in New Issue
Block a user