Parcourir la source

Add model to onCallButtonClicked event payload

Pete Nicholls il y a 11 ans
Parent
commit
1d3aa9f450
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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
                 });
             },