You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-09-01 21:21:58 +03:00
fix some review feedback; add initial api for setting & deleting tags; still a WIP
This commit is contained in:
@@ -423,12 +423,12 @@ Room.prototype.addTags = function(event) {
|
||||
// }
|
||||
// }
|
||||
|
||||
// XXX: do we need to deep copy here?
|
||||
this.tags = event.getContent().tags;
|
||||
|
||||
// XXX: we could do a deep-comparison to see if the tags have really
|
||||
// changed - but do we want to bother?
|
||||
this.emit("Room.tags", this);
|
||||
|
||||
// XXX: do we need to deep copy here?
|
||||
this.tags = event.content.tags;
|
||||
};
|
||||
|
||||
function setEventMetadata(event, stateContext, toStartOfTimeline) {
|
||||
|
Reference in New Issue
Block a user