mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 18:29:19 +02:00
Move from MR_EVENT_IS_ONLINE to MR_EVENT_IS_OFFLINE to allow passing 0 as the default parameter and keep the stuff running.
This commit is contained in:
parent
58833040f2
commit
cc317f8ce4
6 changed files with 16 additions and 10 deletions
|
@ -59,9 +59,6 @@ static uintptr_t receive_event(mrmailbox_t* mailbox, int event, uintptr_t data1,
|
|||
case MR_EVENT_WAKE_LOCK:
|
||||
break; /* do not show the event as this would fill the screen */
|
||||
|
||||
case MR_EVENT_IS_ONLINE:
|
||||
return 1;
|
||||
|
||||
case MR_EVENT_INFO:
|
||||
printf("%s\n", (char*)data2);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue