Skip to content

Commit

Permalink
Changing class defn of xmpp room
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick and Tim committed Dec 20, 2012
1 parent e5c34f9 commit a69e129
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
12 changes: 6 additions & 6 deletions muc/strophe.muc.coffee
Expand Up @@ -479,13 +479,13 @@ Strophe.addConnectionPlugin 'muc'

class XmppRoom

roster: {}
_message_handlers: {}
_presence_handlers: {}
_roster_handlers: {}
_handler_ids: 0

constructor: (@client, @name, @nick, @password) ->
@roster: {}
@_message_handlers: {}
@_presence_handlers: {}
@_roster_handlers: {}
@_handler_ids: 0

@client = client.muc if client.muc
@name = Strophe.getBareJidFromJid name
@client.rooms[@name] = @
Expand Down
17 changes: 7 additions & 10 deletions muc/strophe.muc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a69e129

Please sign in to comment.