From 8e1105b12a1be3ec130c8dc29e513db504c30d37 Mon Sep 17 00:00:00 2001
From: David Baker <dave@matrix.org>
Date: Fri, 23 Sep 2016 15:25:13 +0100
Subject: [PATCH] Oops, wrong function

---
 src/components/structures/RoomDirectory.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/structures/RoomDirectory.js b/src/components/structures/RoomDirectory.js
index 9f8573f6..cb77087f 100644
--- a/src/components/structures/RoomDirectory.js
+++ b/src/components/structures/RoomDirectory.js
@@ -229,7 +229,7 @@ module.exports = React.createClass({
         }, 300);
     },
 
-    onFilterChange: function() {
+    onFilterClear: function() {
         this.filterString = null;
 
         if (this.filterTimeout) {