Get compiling against libdeltachat 1.83

This commit is contained in:
2022-05-23 20:47:35 +01:00
parent 18ae21daad
commit 3e146313a9
2 changed files with 2 additions and 3 deletions

View File

@@ -183,8 +183,7 @@ delta_event_handler(void *context)
dc_str_unref(warn);
break;
}
case DC_EVENT_ERROR:
case DC_EVENT_ERROR_NETWORK: {
case DC_EVENT_ERROR: {
int errcode = dc_event_get_data1_int(event);
char *err = dc_event_get_data2_str(event);
purple_debug_info(PLUGIN_ID, "ERROR from Delta: %d: %s\n", errcode, err);

View File

@@ -2,7 +2,7 @@
#define DELTA_CONNECTION_H
#include <glib.h>
#include <deltachat/deltachat.h>
#include <deltachat.h>
#include <pthread.h>
struct _PurpleConnection;