Revert "add helper method to add ephemeral messages; also switch 'delete mess…"

Этот коммит содержится в:
Christopher Speller
2015-12-10 08:32:30 -05:00
родитель 47c3ff91a3
Коммит e80129a0e9
5 изменённых файлов: 49 добавлений и 104 удалений

Просмотреть файл

@@ -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);
}