소스 검색

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);
         }
     });
 }));