mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Fix timestamp calculation on relaod.
This commit is contained in:
@@ -107,7 +107,7 @@ export const ReactionsProvider = ({
|
|||||||
if (reaction && reaction.getType() === EventType.Reaction) {
|
if (reaction && reaction.getType() === EventType.Reaction) {
|
||||||
const content = reaction.getContent() as ReactionEventContent;
|
const content = reaction.getContent() as ReactionEventContent;
|
||||||
if (content?.["m.relates_to"]?.key === "🖐️") {
|
if (content?.["m.relates_to"]?.key === "🖐️") {
|
||||||
addRaisedHand(m.sender, new Date(m.createdTs()));
|
addRaisedHand(m.sender, new Date(reaction.localTimestamp));
|
||||||
if (m.sender === room.client.getUserId()) {
|
if (m.sender === room.client.getUserId()) {
|
||||||
setMyReactionId(eventId);
|
setMyReactionId(eventId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user