Skip to content

fix: Filter messages correctly in receive method as well#2373

Merged
Ivansss merged 1 commit intomainfrom
fix/noid/thread-display-crash
Jan 30, 2026
Merged

fix: Filter messages correctly in receive method as well#2373
Ivansss merged 1 commit intomainfrom
fix/noid/thread-display-crash

Conversation

@SystemKeeper
Copy link
Copy Markdown
Collaborator

// Skip thread messages when not in a thread view controller
// Skip non thread messages when in a normal chat view controller
guard (self.thread == nil && !newMessage.isThreadMessage())
|| (self.thread != nil && (newMessage.isThreadMessage() || newMessage.isThreadOriginalMessage()))
else { continue }

Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
@SystemKeeper SystemKeeper marked this pull request as ready for review January 29, 2026 14:42
@Ivansss Ivansss merged commit 6b80ef4 into main Jan 30, 2026
10 checks passed
@Ivansss Ivansss deleted the fix/noid/thread-display-crash branch January 30, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants