Add poll icon when quoting a poll.

This commit is contained in:
Michelle Tang
2025-10-16 13:32:33 -04:00
committed by Cody Henthorne
parent 91b70038e6
commit b3f74d37e1
9 changed files with 39 additions and 15 deletions

View File

@@ -1117,6 +1117,7 @@ private fun BackupMessageRecord.toRemoteQuote(exportState: ExportState, attachme
}
}
QuoteModel.Type.GIFT_BADGE -> Quote.Type.GIFT_BADGE
QuoteModel.Type.POLL -> Quote.Type.POLL
}
val bodyRanges = this.quoteBodyRanges?.toRemoteBodyRanges(dateSent) ?: emptyList()

View File

@@ -1053,6 +1053,7 @@ class ChatItemArchiveImporter(
Quote.Type.NORMAL -> QuoteModel.Type.NORMAL.code
Quote.Type.GIFT_BADGE -> QuoteModel.Type.GIFT_BADGE.code
Quote.Type.VIEW_ONCE -> QuoteModel.Type.NORMAL.code
Quote.Type.POLL -> QuoteModel.Type.POLL.code
}
}