Room purge fixes

This commit is contained in:
N Pex 2023-01-31 09:39:30 +00:00
parent e4597dd7b4
commit f34144557a
2 changed files with 93 additions and 180 deletions

View file

@ -1018,7 +1018,6 @@ export default {
},
handleScrolledToTop() {
console.log("@top");
if (
this.timelineWindow &&
this.timelineWindow.canPaginate(EventTimeline.BACKWARDS) &&
@ -1045,7 +1044,6 @@ export default {
},
handleScrolledToBottom(scrollToEnd) {
console.log("@bottom");
if (
this.timelineWindow &&
this.timelineWindow.canPaginate(EventTimeline.FORWARDS) &&
@ -1287,7 +1285,6 @@ export default {
* Start/restart the timer to Read Receipts.
*/
restartRRTimer() {
console.log("Restart RR timer");
this.stopRRTimer();
let eventIdFirst = null;
@ -1307,7 +1304,6 @@ export default {
},
rrTimerElapsed(eventIdFirst, eventIdLast) {
console.log("RR timer elapsed", eventIdFirst, eventIdLast);
this.rrTimer = null;
this.sendRR(eventIdFirst, eventIdLast);
this.restartRRTimer();