Skip to content

Commit 6e950f2

Browse files
committed
clearify scope of events
1 parent abe556a commit 6e950f2

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
@@ -6721,16 +6721,25 @@ void dc_event_unref(dc_event_t* event);
67216721
/**
67226722
* The callee accepted an incoming call on another another device using dc_accept_incoming_call().
67236723
* The caller gets the event #DC_EVENT_OUTGOING_CALL_ACCEPTED at the same time.
6724+
*
6725+
* The event is sent unconditionally when the corresponding message is received.
6726+
* UI should only take action in case call UI was opened before, otherwise the event should be ignored.
67246727
*/
67256728
#define DC_EVENT_INCOMING_CALL_ACCEPTED 2560
67266729

67276730
/**
67286731
* A call placed using dc_place_outgoing_call() was accepted by the callee using dc_accept_incoming_call().
6732+
*
6733+
* The event is sent unconditionally when the corresponding message is received.
6734+
* UI should only take action in case call UI was opened before, otherwise the event should be ignored.
67296735
*/
67306736
#define DC_EVENT_OUTGOING_CALL_ACCEPTED 2570
67316737

67326738
/**
67336739
* An incoming or outgoing call was ended using dc_end_call().
6740+
*
6741+
* The event is sent unconditionally when the corresponding message is received.
6742+
* UI should only take action in case call UI was opened before, otherwise the event should be ignored.
67346743
*/
67356744
#define DC_EVENT_CALL_ENDED 2580
67366745

0 commit comments

Comments
 (0)