mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Format file
This commit is contained in:
parent
e8f421fe34
commit
785ccc8bc4
@ -202,7 +202,9 @@ data class Event(
|
||||
fun getDecryptedTextSummary(): String? {
|
||||
if (isRedacted()) return "Message Deleted"
|
||||
val text = getDecryptedValue() ?: run {
|
||||
if (isPoll()) { return getPollQuestion() ?: "created a poll." }
|
||||
if (isPoll()) {
|
||||
return getPollQuestion() ?: "created a poll."
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user