Skip to content

Commit

Permalink
Add comments to prevent that this fix is temporary
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasBourdin88 committed Jun 5, 2024
1 parent a190af6 commit f1e8f1e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ class ThreadController @Inject constructor(
handleFailure(localMessage.uid)
}

// TODO: Remove this when the API returns the good value for `has_attachments`.
if (!hasAttachmentsInThread) {
messages.flatMapTo(mutableSetOf()) { it.threads }.forEach { thread ->
if (thread.hasAttachments) {
Expand Down

0 comments on commit f1e8f1e

Please sign in to comment.