Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Merge 1e1ce9e into 647cde0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jikstra committed Jul 15, 2019
2 parents 647cde0 + 1e1ce9e commit 8f83585
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -2581,12 +2581,23 @@ NAPI_METHOD(dcn_array_get_chat_id) {
return napi_chat_id;
}

NAPI_METHOD(dcn_perform_imap_jobs) {
NAPI_ARGV(1);
NAPI_DCN_CONTEXT();

dc_perform_imap_jobs(dcn_context->dc_context);

//TRACE("calling..");
NAPI_RETURN_UNDEFINED();
}

NAPI_INIT() {
/**
* Main context
*/

NAPI_EXPORT_FUNCTION(dcn_context_new);
NAPI_EXPORT_FUNCTION(dcn_perform_imap_jobs);

/**
* Static functions
Expand Down

0 comments on commit 8f83585

Please sign in to comment.