Removing unused code

This commit is contained in:
Leandro Borges Ferreira
2023-02-15 18:39:11 +01:00
parent 23190d5b06
commit 9cafabc023
@@ -227,16 +227,7 @@ class StreamChannelListTile extends StatelessWidget {
(lastMessage.user?.id != currentUser.id)) {
return const Offstage();
}
final isLastMessageRead = channelState.read
.where(
(readData) => readData.user.id != currentUser.id,
)
.any((readData) =>
readData.lastRead.isAfter(lastMessage.createdAt) ||
readData.lastRead
.isAtSameMomentAs(lastMessage.createdAt));
final hasNonUrlAttachments = lastMessage.attachments
.where((it) => it.titleLink == null || it.type == 'giphy')
.isNotEmpty;