You've already forked matrix-js-sdk
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user