chore: Follow up threads

This commit is contained in:
Christian Kußowski 2025-11-05 08:38:35 +01:00
commit 39bdc34eb9
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 32 additions and 16 deletions

View file

@ -9,7 +9,8 @@ extension VisibleInGuiExtension on List<Event> {
}) =>
where(
(event) {
if (threadId != null) {
if (threadId != null &&
event.relationshipType != RelationshipTypes.reaction) {
if ((event.relationshipType != RelationshipTypes.thread ||
event.relationshipEventId != threadId) &&
event.eventId != threadId) {