mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 08:16:32 +03:00
integration @r10s' additions
This commit is contained in:
@@ -1088,7 +1088,7 @@ char* dc_get_webxdc_status_updates (dc_context_t* context, uint32_t msg_id, uint
|
||||
|
||||
* @param context The context object.
|
||||
* @param msg_id The ID of the message with the webxdc instance.
|
||||
* @return 1=contact ID is member of chat ID, 0=contact is not in chat
|
||||
* @return 1 = webxdc is updating , 0 = webxdc is not updating
|
||||
*/
|
||||
int dc_is_webxdc_updating (dc_context_t* context, uint32_t msg_id);
|
||||
|
||||
@@ -5892,7 +5892,7 @@ void dc_event_unref(dc_event_t* event);
|
||||
* @param data1 (int) msg_id
|
||||
* @param data1 (int) is_sending
|
||||
*/
|
||||
#define DC_EVENT_WEBXDC_UPDATE_STATE_CHANGED 2017
|
||||
#define DC_EVENT_WEBXDC_UPDATE_STATE_CHANGED 2122
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
@@ -521,7 +521,7 @@ pub unsafe extern "C" fn dc_event_get_id(event: *mut dc_event_t) -> libc::c_int
|
||||
EventType::SelfavatarChanged => 2110,
|
||||
EventType::WebxdcStatusUpdate { .. } => 2120,
|
||||
EventType::WebxdcInstanceDeleted { .. } => 2121,
|
||||
EventType::WebxdcUpdateStateChanged { .. } => 2017,
|
||||
EventType::WebxdcUpdateStateChanged { .. } => 2122,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -621,7 +621,7 @@ pub unsafe extern "C" fn dc_event_get_data2_int(event: *mut dc_event_t) -> libc:
|
||||
..
|
||||
} => status_update_serial.to_u32() as libc::c_int,
|
||||
EventType::WebxdcUpdateStateChanged {
|
||||
is_sending: is_send,
|
||||
has_pending_updates: is_send,
|
||||
..
|
||||
} => *is_send as libc::c_int,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user