Commit 779d799a authored by Volker Krause's avatar Volker Krause
Browse files

Keep the ticket token in the RCT2 extractor

This should enable the app to show barcodes for any RCT2 ticket as well.
parent 0ae09e9c
......@@ -85,6 +85,7 @@ void GenericUic918Extractor::extract(const QByteArray &data, QJsonArray &result,
QJsonObject ticket;
ticket.insert(QStringLiteral("@type"), QLatin1String("Ticket"));
ticket.insert(QStringLiteral("ticketToken"), QString(QLatin1String("aztecbin:") + QString::fromLatin1(data.toBase64())));
ticket.insert(QStringLiteral("ticketedSeat"), seat);
QJsonObject res;
Supports Markdown
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