You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
no need to filter here anymore when listening for timeline, also remove obsolete docs
This commit is contained in:
@@ -930,11 +930,8 @@ Crypto.prototype.registerEventHandlers = function(eventEmitter) {
|
||||
crypto._onToDeviceEvent(event);
|
||||
});
|
||||
|
||||
// only sync timeline events, not events when backpaginating, loading, ...
|
||||
eventEmitter.on("Room.timeline", function(event) {
|
||||
if (event.getRoomId()) {
|
||||
crypto._onTimelineEvent(event);
|
||||
}
|
||||
});
|
||||
|
||||
eventEmitter.on("Event.decrypted", function(event) {
|
||||
|
||||
Reference in New Issue
Block a user