mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
remove obsolete comment
This commit is contained in:
parent
b39c15d88d
commit
3d5b69f60a
@ -236,12 +236,6 @@ export class RoomSummary {
|
|||||||
isInitialSync, isTimelineOpen,
|
isInitialSync, isTimelineOpen,
|
||||||
this._ownUserId);
|
this._ownUserId);
|
||||||
if (data !== this._data) {
|
if (data !== this._data) {
|
||||||
// need to think here how we want to persist
|
|
||||||
// things like unread status (as read marker, or unread count)?
|
|
||||||
// we could very well load additional things in the load method
|
|
||||||
// ... the trade-off is between constantly writing the summary
|
|
||||||
// on every sync, or doing a bit of extra reading on load
|
|
||||||
// and have in-memory only variables for visualization
|
|
||||||
txn.roomSummary.set(data.serialize());
|
txn.roomSummary.set(data.serialize());
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user