Skip to content

Commit

Permalink
fixed up method call when extended_presence property is set in join f…
Browse files Browse the repository at this point in the history
…unction
  • Loading branch information
Ivan Rubio committed Mar 20, 2015
1 parent 5d1e426 commit e06c1f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion muc/strophe.muc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Strophe.addConnectionPlugin 'muc',
msg.cnode Strophe.xmlElement("password", [], password)

if extended_presence?
msg.up.cnode extended_presence
msg.up().cnode extended_presence

# One handler for all rooms that dispatches to room callbacks
@_muc_handler ?= @_connection.addHandler (stanza) =>
Expand Down
2 changes: 1 addition & 1 deletion 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 e06c1f5

Please sign in to comment.