From e80129a0e97af82a196bc47509c3a38296e8a4a2 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Thu, 10 Dec 2015 08:32:30 -0500
Subject: =?UTF-8?q?Revert=20"add=20helper=20method=20to=20add=20ephemeral?=
 =?UTF-8?q?=20messages;=20also=20switch=20'delete=20mess=E2=80=A6"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 web/react/utils/utils.jsx | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'web/react/utils/utils.jsx')

diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 13c7f961a..c2e4276b0 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -1254,8 +1254,3 @@ export function isFeatureEnabled(feature) {
 export function isSystemMessage(post) {
     return post.type && (post.type.lastIndexOf(Constants.SYSTEM_MESSAGE_PREFIX) === 0);
 }
-
-// convenience method to dispatch an event in JS' next event cycle
-export function defer(fn) {
-    setTimeout(fn, 0);
-}
-- 
cgit v1.2.3-1-g7c22

