class Xmpp.Models.Me extends Xmpp.Models.Contact
  namespace: 'app.roster'

  defaults:
    jid: ''
    name: ''
    status: 'online'
    message: ''
    avatar: ''

  initialize: ->
    _.bindAll(this)

    @view = new Xmpp.Views.Contacts.MeView(model: this)
    @view.render()

  sendMessage: (message, chatId) ->
    App.debug ['sending from:', @get('jid'), message]

    App.Com.sendMessage(message, chatId, @get('jid'))