Skip to content

Commit ed7f532

Browse files
committed
clearify scope of events
1 parent 74f634e commit ed7f532

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
@@ -6664,16 +6664,25 @@ void dc_event_unref(dc_event_t* event);
66646664
/**
66656665
* The callee accepted an incoming call on another another device using dc_accept_incoming_call().
66666666
* The caller gets the event #DC_EVENT_OUTGOING_CALL_ACCEPTED at the same time.
6667+
*
6668+
* The event is sent unconditionally when the corresponding message is received.
6669+
* UI should only take action in case call UI was opened before, otherwise the event should be ignored.
66676670
*/
66686671
#define DC_EVENT_INCOMING_CALL_ACCEPTED 2560
66696672

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

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

0 commit comments

Comments
 (0)