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

fix casing of tagName

This commit is contained in:
Matthew Hodgson
2015-11-07 17:22:45 +00:00
parent 149ed04a4f
commit 3d4694a92f

View File

@@ -36,8 +36,8 @@ function Room(roomId, storageToken) {
this.name = roomId;
this.timeline = [];
this.tags = {
// $tagname: { $metadata: $value },
// $tagname: { $metadata: $value },
// $tagName: { $metadata: $value },
// $tagName: { $metadata: $value },
};
this.oldState = new RoomState(roomId);
this.currentState = new RoomState(roomId);
@@ -418,8 +418,8 @@ Room.prototype.addTags = function(event) {
// event content looks like:
// content: {
// tags: {
// $tagname: { $metadata: $value },
// $tagname: { $metadata: $value },
// $tagName: { $metadata: $value },
// $tagName: { $metadata: $value },
// }
// }