fix: Make scrolling in encrypted rooms with many PMP messages no longer "sticky"
This commit is contained in:
1 parent
67093c5b1e
commit
93165ad8d4
2 files changed
+5
-5
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
default: patch
|
||||
---
|
||||
|
||||
Fixed the "sticky scrolling" issue in encrypted rooms with many PMP messages.
|
||||
@@ -396,11 +396,6 @@ function MessageInternal(
|
||||
triggerTimelineRegroup();
|
||||
};
|
||||
|
||||
if (mEvent.getClearContent()) {
|
||||
setContentVersion((v) => (v === 0 ? 1 : v));
|
||||
triggerTimelineRegroup();
|
||||
}
|
||||
|
||||
mEvent.on(MatrixEventEvent.Decrypted, onUpdate);
|
||||
mEvent.on(MatrixEventEvent.Replaced, onUpdate);
|
||||
return () => {
|
||||
|
||||
Reference in new issue
Block a user