Browse Source

Add model to onCallButtonClicked event payload

Pete Nicholls 11 years ago
parent
commit
1d3aa9f450
1 changed files with 2 additions and 1 deletions
  1. 2 1
      converse.js

+ 2 - 1
converse.js

@@ -1172,7 +1172,8 @@
                 ev.stopPropagation();
 
                 converse.emit('onCallButtonClicked', {
-                    connection: converse.connection
+                    connection: converse.connection,
+                    model: this.model
                 });
             },