mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Make it compiles
This commit is contained in:
parent
237545622f
commit
f5fad8a082
@ -81,7 +81,7 @@ class ViewEditHistoryViewModel @AssistedInject constructor(@Assisted
|
||||
|
||||
var originalIsReply = false
|
||||
|
||||
val events = data.map { event ->
|
||||
data.forEach { event ->
|
||||
val timelineID = event.roomId + UUID.randomUUID().toString()
|
||||
// We need to check encryption
|
||||
if (event.isEncrypted() && event.mxDecryptionResult == null) {
|
||||
@ -105,7 +105,7 @@ class ViewEditHistoryViewModel @AssistedInject constructor(@Assisted
|
||||
}
|
||||
setState {
|
||||
copy(
|
||||
editList = Success(events),
|
||||
editList = Success(data),
|
||||
isOriginalAReply = originalIsReply
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user