This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
src/components/structures Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ module.exports = React.createClass({
65
65
suppressFirstDateSeparator : React . PropTypes . bool ,
66
66
67
67
// whether to show read receipts
68
- manageReadReceipts : React . PropTypes . bool ,
68
+ showReadReceipts : React . PropTypes . bool ,
69
69
70
70
// true if updates to the event list should cause the scroll panel to
71
71
// scroll down when we are at the bottom of the window. See ScrollPanel
@@ -491,7 +491,7 @@ module.exports = React.createClass({
491
491
var scrollToken = mxEv . status ? undefined : eventId ;
492
492
493
493
var readReceipts ;
494
- if ( this . props . manageReadReceipts ) {
494
+ if ( this . props . showReadReceipts ) {
495
495
readReceipts = this . _getReadReceiptsForEvent ( mxEv ) ;
496
496
}
497
497
ret . push (
Original file line number Diff line number Diff line change @@ -1716,7 +1716,8 @@ module.exports = React.createClass({
1716
1716
var messagePanel = (
1717
1717
< TimelinePanel ref = { this . _gatherTimelinePanelRef }
1718
1718
timelineSet = { this . state . room . getUnfilteredTimelineSet ( ) }
1719
- manageReadReceipts = { ! UserSettingsStore . getSyncedSetting ( 'hideReadReceipts' , false ) }
1719
+ showReadReceipts = { ! UserSettingsStore . getSyncedSetting ( 'hideReadReceipts' , false ) }
1720
+ manageReadReceipts = { true }
1720
1721
manageReadMarkers = { true }
1721
1722
hidden = { hideMessagePanel }
1722
1723
highlightedEventId = { highlightedEventId }
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ var TimelinePanel = React.createClass({
59
59
// that room.
60
60
timelineSet : React . PropTypes . object . isRequired ,
61
61
62
+ showReadReceipts : React . PropTypes . bool ,
62
63
// Enable managing RRs and RMs. These require the timelineSet to have a room.
63
64
manageReadReceipts : React . PropTypes . bool ,
64
65
manageReadMarkers : React . PropTypes . bool ,
@@ -1140,8 +1141,8 @@ var TimelinePanel = React.createClass({
1140
1141
readMarkerEventId = { this . state . readMarkerEventId }
1141
1142
readMarkerVisible = { this . state . readMarkerVisible }
1142
1143
suppressFirstDateSeparator = { this . state . canBackPaginate }
1143
- showUrlPreview = { this . props . showUrlPreview }
1144
- manageReadReceipts = { this . props . manageReadReceipts }
1144
+ showUrlPreview = { this . props . showUrlPreview }
1145
+ showReadReceipts = { this . props . showReadReceipts }
1145
1146
ourUserId = { MatrixClientPeg . get ( ) . credentials . userId }
1146
1147
stickyBottom = { stickyBottom }
1147
1148
onScroll = { this . onMessageListScroll }
You can’t perform that action at this time.
0 commit comments