api!: get rid of inviter progress other than 0 and 1000

UIs don't display a dialog with a progress bar anyway.
This commit is contained in:
link2xt
2025-09-15 18:08:33 +00:00
committed by l
parent 80f97cf9bd
commit cb5f9f3051
3 changed files with 4 additions and 15 deletions

View File

@@ -6561,9 +6561,7 @@ void dc_event_unref(dc_event_t* event);
*
* @param data1 (int) The ID of the contact that wants to join.
* @param data2 (int) The progress as:
* 300=vg-/vc-request received, typically shown as "bob@addr joins".
* 600=vg-/vc-request-with-auth received and verified, typically shown as "bob@addr verified".
* 800=contact added to chat, shown as "bob@addr securely joined GROUP". Only for the verified-group-protocol.
* 0=Error.
* 1000=Protocol finished for this contact.
*/
#define DC_EVENT_SECUREJOIN_INVITER_PROGRESS 2060