mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +03:00
Handle encrypted reactions (#2509)
This commit is contained in:
parent
fa1de6e6b0
commit
485c44454b
2 changed files with 8 additions and 0 deletions
|
@ -10,6 +10,7 @@ Improvements 🙌:
|
|||
|
||||
Bugfix 🐛:
|
||||
- Fix bad theme change for the MainActivity
|
||||
- Handle encrypted reactions (#2509)
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
|
|
@ -158,6 +158,13 @@ internal class EventRelationsAggregationProcessor @Inject constructor(@UserId pr
|
|||
}
|
||||
}
|
||||
}
|
||||
} else if (encryptedEventContent?.relatesTo?.type == RelationType.ANNOTATION) {
|
||||
// Reaction
|
||||
if (event.getClearType() == EventType.REACTION) {
|
||||
// we got a reaction!!
|
||||
Timber.v("###REACTION e2e in room $roomId , reaction eventID ${event.eventId}")
|
||||
handleReaction(event, roomId, realm, userId, isLocalEcho)
|
||||
}
|
||||
}
|
||||
}
|
||||
EventType.REDACTION -> {
|
||||
|
|
Loading…
Reference in a new issue