   # copied from EmbedBoxWidget, and changed it
   # to populate the payload directly
   # without needing to preview. ~U
-  populatePayload: (data) ->
+  applyPayload: (data) ->
 
     return  unless data?
 

    else KD.utils.wait 8000, @bound 'unlockSubmit'


  embedLink: (url, callback = noop) ->

    options = { maxWidth: 475 }

    @embedBox.fetchEmbed url, options, (data = {}) =>

      payload = @populatePayload data

      callback null, payload


    urls = _.uniq (text.match @utils.botchedUrlRegExp) || []

    if urls.length > 0 and not options.payload
      @populatePayload urls.first, (err, payload) =>
        options.payload = payload
        @sendPrivateMessage options, callback
    else
