Bläddra i källkod

Bugfix. Contact wasn't being sent. updates #443

JC Brand 9 år sedan
förälder
incheckning
550f7827bf
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      src/converse-core.js
  2. 1 1
      src/converse-notification.js

+ 1 - 1
src/converse-core.js

@@ -1544,7 +1544,7 @@
                     }.bind(this),
                     function () {
                         this.clearSpinner();
-                        converse.log("Error while trying to fetch archived messages", "error");
+                        converse.log("Error or timeout while trying to fetch archived messages", "error");
                     }.bind(this)
                 );
             },

+ 1 - 1
src/converse-notification.js

@@ -171,7 +171,7 @@
                  * status has changed.
                  */
                 if (converse.areDesktopNotificationsEnabled()) {
-                    converse.showChatStateNotification();
+                    converse.showChatStateNotification(contact);
                 }
             };