From bd3cb844675770a613462b4fe4fdaad81b71863b Mon Sep 17 00:00:00 2001 From: Mark Washeim Date: Wed, 2 Oct 2024 17:52:43 +0200 Subject: [PATCH] [Release] revert attachment processing. seems faster (?) on load --- qml/lib/Worker.js | 4 ++-- rpm/harbour-tooterb.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qml/lib/Worker.js b/qml/lib/Worker.js index 67385ab..1a48c1c 100644 --- a/qml/lib/Worker.js +++ b/qml/lib/Worker.js @@ -385,7 +385,7 @@ function parseToot (data) { .replaceAll('class=""', ''); /** Media attachements in Toots */ - /* + item['attachments'] = []; for(i = 0; i < data['media_attachments'].length; i++) { var attachments = data['media_attachments'][i]; @@ -412,7 +412,7 @@ function parseToot (data) { } item['attachments'].push(tmp) } - }*/ + } return addEmojis(item, data); } diff --git a/rpm/harbour-tooterb.spec b/rpm/harbour-tooterb.spec index 3ec682f..bd94795 100644 --- a/rpm/harbour-tooterb.spec +++ b/rpm/harbour-tooterb.spec @@ -15,7 +15,7 @@ Name: harbour-tooterb %{?qtc_builddir:%define _builddir %qtc_builddir} Summary: Tooter β Version: 1.1.9 -Release: 1 +Release: 2 Group: Qt/Qt License: GPLv3 URL: https://github.com/poetaster/harbour-tooter#readme