mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
consistent naming
This commit is contained in:
parent
994f1c57d3
commit
1757a27475
@ -41,7 +41,7 @@ export default class Session {
|
||||
return room;
|
||||
}
|
||||
|
||||
applySync(syncToken, accountData, txn) {
|
||||
persistSync(syncToken, accountData, txn) {
|
||||
if (syncToken !== this._session.syncToken) {
|
||||
this._session.syncToken = syncToken;
|
||||
txn.session.set(this._session);
|
||||
|
@ -78,7 +78,7 @@ export default class Sync extends EventEmitter {
|
||||
]);
|
||||
const roomChanges = [];
|
||||
try {
|
||||
this._session.applySync(syncToken, response.account_data, syncTxn);
|
||||
this._session.persistSync(syncToken, response.account_data, syncTxn);
|
||||
// to_device
|
||||
// presence
|
||||
if (response.rooms) {
|
||||
|
Loading…
Reference in New Issue
Block a user