You've already forked matrix-js-sdk
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:
@@ -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 },
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user