Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
elm
element-web
matrix-js-sdk
Commits
b03a5866
Commit
b03a5866
authored
6 years ago
by
Bruno Windels
Browse files
Options
Download
Email Patches
Plain Diff
WIP
parent
fb02ff81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/models/room.js
src/models/room.js
+1
-1
src/timeline-window.js
src/timeline-window.js
+1
-1
No files found.
src/models/room.js
View file @
b03a5866
...
...
@@ -956,7 +956,7 @@ Room.prototype._handleThreadEvent = function(event, toStartOfTimeline, duplicate
}
const
threadTimelineSet
=
this
.
_createThreadTimelineSet
(
id
);
// add to timeline thread timeline
content
.
body
=
msg
;
//
content.body = msg;
console
.
log
(
"
thread message
"
,
id
,
msg
);
threadTimelineSet
.
addEventToTimeline
(
event
,
...
...
This diff is collapsed.
Click to expand it.
src/timeline-window.js
View file @
b03a5866
...
...
@@ -122,7 +122,7 @@ TimelineWindow.prototype.loadAsThread = function() {
this
.
_start
=
new
TimelineIndex
(
timeline
,
-
timeline
.
getBaseIndex
());
this
.
_end
=
new
TimelineIndex
(
timeline
,
timeline
.
getEvents
().
length
-
timeline
.
getBaseIndex
());
this
.
_eventCount
=
timeline
.
getEvents
().
length
;
this
.
_setKey
();
//
this._setKey();
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment