Skip to content

Commit 9bed311

Browse files
committed
clearify scope of events
1 parent be01d7c commit 9bed311

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

deltachat-ffi/deltachat.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6665,16 +6665,25 @@ void dc_event_unref(dc_event_t* event);
66656665
/**
66666666
* The callee accepted an incoming call on another another device using dc_accept_incoming_call().
66676667
* The caller gets the event #DC_EVENT_OUTGOING_CALL_ACCEPTED at the same time.
6668+
*
6669+
* The event is sent unconditionally when the corresponding message is received.
6670+
* UI should only take action in case call UI was opened before, otherwise the event should be ignored.
66686671
*/
66696672
#define DC_EVENT_INCOMING_CALL_ACCEPTED 2560
66706673

66716674
/**
66726675
* A call placed using dc_place_outgoing_call() was accepted by the callee using dc_accept_incoming_call().
6676+
*
6677+
* The event is sent unconditionally when the corresponding message is received.
6678+
* UI should only take action in case call UI was opened before, otherwise the event should be ignored.
66736679
*/
66746680
#define DC_EVENT_OUTGOING_CALL_ACCEPTED 2570
66756681

66766682
/**
66776683
* An incoming or outgoing call was ended using dc_end_call().
6684+
*
6685+
* The event is sent unconditionally when the corresponding message is received.
6686+
* UI should only take action in case call UI was opened before, otherwise the event should be ignored.
66786687
*/
66796688
#define DC_EVENT_CALL_ENDED 2580
66806689

0 commit comments

Comments
 (0)