Explorar el Código

Fix. Used the wrong listenere.

JC Brand hace 9 años
padre
commit
3690d1c205
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/converse-notification.js

+ 1 - 1
src/converse-notification.js

@@ -142,7 +142,7 @@
             };
 
             converse.on('contactStatusChanged',  converse.showChatStateNotification);
-            converse.on('message',  converse.showMessageNotification);
+            converse.on('message',  converse.notifyOfNewMessage);
         }
     });
 }));