瀏覽代碼

Fix. Used the wrong listenere.

JC Brand 9 年之前
父節點
當前提交
3690d1c205
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
         }
     });
 }));