cburschka / cadence

A strophe.js-powered XMPP web client for chatrooms.
7 stars 2 forks source link

Roster doesn't msgOnClick #377

Closed cburschka closed 8 years ago

cburschka commented 8 years ago

Because msgOnClick looks for a user element below the given node, it doesn't work when rosterInsert gives it the user element directly.

Give it the roster entry instead, and everything will be fine.