Commit fe5193ec authored by Martin Straka's avatar Martin Straka

Merge branch 'libisds-0.10.8-adaptations' into 'develop'

Adapt to Changes in Libisds

See merge request !127
parents 0f92bd6a ac5965b3
......@@ -8,7 +8,7 @@ Uploaders: Karel Slany <karel.slany@nic.cz>
Homepage: https://www.datovka.cz/
Testsuite: autopkgtest
Build-Depends: debhelper (>= 9),
libisds-dev (>= 0.10.7),
libisds-dev (>= 0.10.8),
libqt5svg5-dev,
libssl-dev,
libxml2-dev,
......
......@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Datovka <datove-schranky@labs.nic.cz>
Uploaders: Karel Slany <karel.slany@nic.cz>
Build-Depends: debhelper (>= 9),
libisds-dev (>= 0.10.7),
libisds-dev (>= 0.10.8),
libqt5svg5-dev,
libssl-dev,
libxml2-dev,
......@@ -17,7 +17,7 @@ Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/datovka.git;a=summary
Package: datovka
Architecture: any
Depends: libisds5 (>= 0.10.7),
Depends: libisds5 (>= 0.10.8),
libqt5sql5-sqlite,
qttranslations5-l10n,
${misc:Depends},
......
......@@ -9,7 +9,7 @@ URL: https://www.datovka.cz/
Source0: datovka_%{version}.orig.tar.xz
BuildRequires: desktop-file-utils
BuildRequires: libisds-devel >= 0.10.7
BuildRequires: libisds-devel >= 0.10.8
BuildRequires: openssl-devel
BuildRequires: qt5-linguist
# qt5-qtbase provides SQLite driver
......
......@@ -227,6 +227,7 @@ enum Isds::Type::Event libisdsEventType2EventType(isds_event_type *src,
case EVENT_ACCEPTED_BY_FICTION: event = Isds::Type::EV_ACCEPTED_FICTION; break;
case EVENT_UNDELIVERABLE: event = Isds::Type::EV_UNDELIVERABLE; break;
case EVENT_COMMERCIAL_ACCEPTED: event = Isds::Type::EV_ACCEPTED_BY_RECIPIENT; break;
case EVENT_UNDELIVERED_AV_CHECK: event = Isds::Type::EV_UNDELIVERED_AV_CHECK; break;
default:
iOk = false;
break;
......@@ -304,7 +305,7 @@ bool eventType2libisdsEventType(isds_event_type **tgt,
case Isds::Type::EV_ACCEPTED_FICTION: **tgt = EVENT_ACCEPTED_BY_FICTION; break;
case Isds::Type::EV_UNDELIVERABLE: **tgt = EVENT_UNDELIVERABLE; break;
case Isds::Type::EV_ACCEPTED_BY_RECIPIENT: **tgt = EVENT_COMMERCIAL_ACCEPTED; break;
/* case Isds::Type::EV_UNDELIVERED_AV_CHECK: Unknown to libisds. */
case Isds::Type::EV_UNDELIVERED_AV_CHECK: **tgt = EVENT_UNDELIVERED_AV_CHECK; break;
default:
**tgt = EVENT_UKNOWN;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment