Skip to content

Commit

Permalink
Expose stop ongoing process (deltachat#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodh committed May 16, 2020
1 parent f1422e9 commit 6bab2fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/deltachat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,11 @@ export class DeltaChat extends EventEmitter {
return binding.dcn_get_securejoin_qr(this.dcn_context, Number(chatId))
}

stopOngoingProcess(): void {
debug(`stopOngoingProcess`)
binding.dcn_stop_ongoing_process(this.dcn_context)
}

getStarredMessages() {
debug('getStarredMessages')
return this.getChatMessages(C.DC_CHAT_ID_STARRED, 0, 0)
Expand Down

0 comments on commit 6bab2fa

Please sign in to comment.