diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-12-10 08:32:30 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-12-10 08:32:30 -0500 |
commit | e80129a0e97af82a196bc47509c3a38296e8a4a2 (patch) | |
tree | 83df33bc7275b36df837be0c9f48914c281e9778 /web/react/utils/utils.jsx | |
parent | 47c3ff91a3987d476ca058c063115bc95345f924 (diff) | |
download | chat-e80129a0e97af82a196bc47509c3a38296e8a4a2.tar.gz chat-e80129a0e97af82a196bc47509c3a38296e8a4a2.tar.bz2 chat-e80129a0e97af82a196bc47509c3a38296e8a4a2.zip |
Revert "add helper method to add ephemeral messages; also switch 'delete mess…"
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r-- | web/react/utils/utils.jsx | 5 |
1 files changed, 0 insertions, 5 deletions
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); -} |