From 947e41c5403bc8f8d4ca37ffbf11c464f56a4683 Mon Sep 17 00:00:00 2001 From: Hank Grabowski Date: Sun, 23 Jan 2022 11:02:10 -0500 Subject: [PATCH] Fix comments showing on export without a parent --- .../lib/src/friendica/models/friendica_timeline_entry.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/friendica_archive_browser/lib/src/friendica/models/friendica_timeline_entry.dart b/friendica_archive_browser/lib/src/friendica/models/friendica_timeline_entry.dart index 6d575ec..32cc935 100644 --- a/friendica_archive_browser/lib/src/friendica/models/friendica_timeline_entry.dart +++ b/friendica_archive_browser/lib/src/friendica/models/friendica_timeline_entry.dart @@ -155,7 +155,7 @@ class FriendicaTimelineEntry { if (externalLink.isNotEmpty) 'External Link: $externalLink', body, '', - if (parentId.isEmpty) + if (parentId.isNotEmpty) "Comment on post/comment by ${parentAuthor.isNotEmpty ? parentAuthor : 'unknown author'}", if (links.isNotEmpty) 'Links:', ...links.map((e) => e.toString()),