Browse Source

Fix. Used the wrong listenere.

JC Brand 9 năm trước cách đây
mục cha
commit
3690d1c205
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
         }
     });
 }));