 
 if Meteor.isServer
   editorTimers = {}
+  stopTimers = {}
 
   ## If we're using a persistent store for sharejs, we need to cleanup
   ## leftover documents from last time.  This should only be for local

import { defaultFormat } from './settings.coffee'
import { ShareJS } from 'meteor/edemaine:sharejs'

## Thanks to https://github.com/aldeed/meteor-simple-schema/blob/4ead24bcc92e9963dd994c07d275eac144733c3e/simple-schema.js#L548-L551
@idRegex = "[23456789ABCDEFGHJKLMNPQRSTWXYZabcdefghijkmnopqrstuvwxyz]{17}"

  ## Need to be able to edit the child message and be able to post within
  ## the target parent.
  canEdit(child) and canPost group, parent

@message2group = (message) ->
  findMessage(message)?.group
