mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Make timeline reactions and reaction senders identifiable
This commit is contained in:
committed by
Stefan Ceriu
parent
9bb177bff5
commit
2a33ee1f63
@@ -26,7 +26,7 @@ extension AggregatedReaction {
|
||||
private static func mockReaction(key: String, senderIDs: [String]) -> AggregatedReaction {
|
||||
let senders = senderIDs
|
||||
.map { id in
|
||||
ReactionSender(senderID: id, timestamp: Date(timeIntervalSinceReferenceDate: 0))
|
||||
ReactionSender(id: id, timestamp: Date(timeIntervalSinceReferenceDate: 0))
|
||||
}
|
||||
return AggregatedReaction(accountOwnerID: alice, key: key, senders: senders)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user