Ver código fonte

Update changelog and build

JC Brand 6 anos atrás
pai
commit
305376b27a
2 arquivos alterados com 4 adições e 3 exclusões
  1. 2 1
      CHANGES.md
  2. 2 2
      dist/converse.js

+ 2 - 1
CHANGES.md

@@ -9,6 +9,8 @@
 - Use `publish-options` with `pubsub#access_model` set to `open` when publishing OMEMO public keys and devices
 - Add a new `converse-pubsub` plugin, for generic PubSub operations
 - #1180 It's now possible to use OMEMO in a MUC (if it's members-only and non-anonymous)
+- #1334 Force avatar refetch when receiving vcard-temp:x:update
+- #1337 `send_chat_state_notifications` doesn't work in MUCs
 - #1353 Message Delivery Receipts not working because of the message "type" attribute
 - #1356 Make triangle icon usable 
 - #1374 Can't load embedded chat when changing `view_mode` between page reloads
@@ -18,7 +20,6 @@
 - #1382 Message Delivery Receipts: Set store hint and type='chat'
 - #1388 implement muc-owner command `/destroy`
 
-
 ## 4.0.6 (2018-12-07)
 
 - Updated translations: ar, cs, de, es, eu, fr, gl, hu, id, it, ja, nb, pt_BR

+ 2 - 2
dist/converse.js

@@ -66503,7 +66503,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_6__["default"].plugins.add('converse-muc
          * as taken from the 'chat_state' attribute of the chat box.
          * See XEP-0085 Chat State Notifications.
          */
-        if (this.get('connection_status') !== _converse_core__WEBPACK_IMPORTED_MODULE_6__["default"].ROOMSTATUS.ENTERED) {
+        if (!_converse.send_chat_state_notifications || this.get('connection_status') !== _converse_core__WEBPACK_IMPORTED_MODULE_6__["default"].ROOMSTATUS.ENTERED) {
           return;
         }
 
@@ -67343,7 +67343,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_6__["default"].plugins.add('converse-muc
 
         _.forEach(_.filter(vcards, undefined), vcard => {
           if (hash && vcard.get('image_hash') !== hash) {
-            _converse.api.vcard.update(vcard);
+            _converse.api.vcard.update(vcard, true);
           }
         });
       },