mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Use simpler methods for thread check
This commit is contained in:
@@ -269,7 +269,7 @@ const CGFloat kTypingCellHeight = 24;
|
||||
else
|
||||
{
|
||||
// if not in a thread, ignore all threaded events
|
||||
if (event.threadId)
|
||||
if (event.isInThread)
|
||||
{
|
||||
// ignore the event
|
||||
return NO;
|
||||
@@ -279,7 +279,7 @@ const CGFloat kTypingCellHeight = 24;
|
||||
{
|
||||
MXEvent *relatedEvent = [self.mxSession.store eventWithEventId:event.relatesTo.eventId
|
||||
inRoom:event.roomId];
|
||||
if (relatedEvent.threadId)
|
||||
if (relatedEvent.isInThread)
|
||||
{
|
||||
// ignore the event
|
||||
return NO;
|
||||
|
||||
Reference in New Issue
Block a user