consistent naming
This commit is contained in:
parent
994f1c57d3
commit
1757a27475
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue