                 date: new Date()
         @syncdb.save()
 
+    set_input: (input) =>
+        @_set_to(input:input)
+
 class ChatStore extends Store
     _init: (flux) =>
         ActionIds = flux.getActionIds(@name)
         @register(ActionIds._set_to, @setState)
         @state =
             messages : immutable.fromJS({})
+            input    : ''
 
 # boilerplate setting up actions, stores, sync'd file, etc.
 syncdbs = {}

            e.preventDefault()

    clear_input: ->
        React.findDOMNode(@refs.input).children[0].value = ""

    render_input: ->
        tip = <span>

    file_use_id = require('schema').client_db.sha1(project_id, path)
    connect_to =
        messages   : name
        input      : name
        user_map   :'users'
        account_id : 'account'
        file_use   : 'file_use'
