mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 08:09:12 +01:00
Add poll icon when quoting a poll.
This commit is contained in:
committed by
Cody Henthorne
parent
91b70038e6
commit
b3f74d37e1
@@ -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()
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user