diff --git a/lib/twitter.js b/lib/twitter.js index 757ab18..32f3706 100644 --- a/lib/twitter.js +++ b/lib/twitter.js @@ -188,14 +188,26 @@ Twitter.prototype.unlocate = function (location, reconnect) { this.removeFilter(FILTER_TYPE_LOCATION, location, reconnect) } +Twitter.prototype.unlocateAll = function (reconnect) { + this.removeAllFilters(FILTER_TYPE_LOCATION, reconnect) +} + Twitter.prototype.unfollow = function (follow, reconnect) { this.removeFilter(FILTER_TYPE_FOLLOW, follow, reconnect) } +Twitter.prototype.unfollowAll = function (reconnect) { + this.removeAllFilters(FILTER_TYPE_FOLLOW, reconnect) +} + Twitter.prototype.unlanguage = function (language, reconnect) { this.removeFilter(FILTER_TYPE_LANGUAGE, language, reconnect) } +Twitter.prototype.unlanguageAll = function (reconnect) { + this.removeAllFilters(FILTER_TYPE_LANGUAGE, reconnect) +} + Twitter.prototype.hasFilters = function () { return this.tracking().length > 0 || this.locations().length > 0 || this.following().length > 0 || this.languages().length > 0 }