1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2026-01-03 23:22:30 +03:00

store the tags in the right place

This commit is contained in:
Matthew Hodgson
2015-11-03 16:19:52 +00:00
parent 8016a70bc4
commit 5a1cc4c2e7

View File

@@ -428,7 +428,7 @@ Room.prototype.addTags = function(event) {
this.emit("Room.tags", this);
// XXX: do we need to deep copy here?
this._tags = event.content.tags;
this.tags = event.content.tags;
};
function setEventMetadata(event, stateContext, toStartOfTimeline) {