Add comment

This commit is contained in:
Benoit Marty 2020-02-11 14:20:03 +01:00
parent a8953568f3
commit b7ec495d6b
1 changed files with 1 additions and 0 deletions

View File

@ -1351,6 +1351,7 @@ class RoomDetailFragment @Inject constructor(
val previewable = attachments.filterPreviewables()
val nonPreviewable = attachments.filterNonPreviewables()
if (nonPreviewable.isNotEmpty()) {
// Send the non previewable event right now (?)
roomDetailViewModel.handle(RoomDetailAction.SendMedia(nonPreviewable))
}
if (previewable.isNotEmpty()) {