1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-01 21:21:58 +03:00

Fixed MatrixClient pushRules method and ivar clash.

Added MatrixClient.setPushRuleEnabled method.
This commit is contained in:
manuroe
2016-01-11 17:00:05 +01:00
parent 0b79ac1386
commit 5c59a2ea3e
2 changed files with 20 additions and 2 deletions

View File

@@ -267,7 +267,7 @@ SyncApi.prototype.sync = function() {
attempt = attempt || 0;
attempt += 1;
client.pushRules().done(function(result) {
client.getPushRules().done(function(result) {
console.log("Got push rules");
client.pushRules = result;
getFilter(); // Now get the filter