Ver código fonte

Fix. Used the wrong listenere.

JC Brand 9 anos atrás
pai
commit
3690d1c205
1 arquivos alterados com 1 adições e 1 exclusões
  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);
         }
     });
 }));