File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## 6.0.1 (2020-02-13)
4
4
5
- - Bugfix. Handle stanza that clears the MUC subject
6
5
- #1313 : Stylistic improvements to the send button
7
6
- #1793 : Send button doesn't appear in Firefox in 1:1 chats
8
- - #1822 : Don't log error if user has no bookmarks
9
7
- #1820 : Set focus on jid field after controlbox is loaded
8
+ - #1822 : Don't log error if user has no bookmarks
10
9
- #1823 : New config options [ muc_roomid_policy] ( https://conversejs.org/docs/html/configuration.html#muc-roomid-policy )
11
10
and [ muc_roomid_policy_hint] ( https://conversejs.org/docs/html/configuration.html#muc-roomid-policy-hint )
12
11
- #1826 : A user can now add himself as a contact
12
+ - #1839 : Headline messages are shown in controlbox
13
+ - #1896 : Don't send receipts for messages fetched from the archive
14
+ - Bugfix. Handle stanza that clears the MUC subject
15
+ - Allow ignore bootstrap modules at build using environment variable: BOOTSTRAP_IGNORE_MODULES="Modal,Dropdown".
16
+ example: export BOOTSTRAP_IGNORE_MODULES="Modal,Dropdown" && make dist
17
+ - New config option [ modtools_disable_query] ( https://conversejs.org/docs/html/configuration.html#modtools-disable-query )
18
+ - New config option [ modtools_disable_assign] ( https://conversejs.org/docs/html/configuration.html#modtools-disable-assign )
13
19
14
20
## 6.0.0 (2020-01-09)
15
21
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ converse.plugins.add('converse-chat', {
367
367
if ( message ) {
368
368
this . updateMessage ( message , original_stanza ) ;
369
369
} else if (
370
- ! this . handleReceipt ( stanza , from_jid ) &&
370
+ ! this . handleReceipt ( stanza , original_stanza , from_jid ) &&
371
371
! this . handleChatMarker ( stanza , from_jid )
372
372
) {
373
373
const attrs = await this . getMessageAttributesFromStanza ( stanza , original_stanza ) ;
@@ -774,10 +774,10 @@ converse.plugins.add('converse-chat', {
774
774
_converse . api . send ( receipt_stanza ) ;
775
775
} ,
776
776
777
- handleReceipt ( stanza , from_jid ) {
777
+ handleReceipt ( stanza , original_stanza , from_jid ) {
778
778
const is_me = Strophe . getBareJidFromJid ( from_jid ) === _converse . bare_jid ;
779
779
const requests_receipt = sizzle ( `request[xmlns="${ Strophe . NS . RECEIPTS } "]` , stanza ) . pop ( ) !== undefined ;
780
- if ( requests_receipt && ! is_me && ! u . isCarbonMessage ( stanza ) ) {
780
+ if ( requests_receipt && ! is_me && ! u . isCarbonMessage ( stanza ) && ! u . isMAMMessage ( original_stanza ) ) {
781
781
this . sendReceiptStanza ( from_jid , stanza . getAttribute ( 'id' ) ) ;
782
782
}
783
783
const to_bare_jid = Strophe . getBareJidFromJid ( stanza . getAttribute ( 'to' ) ) ;
You can’t perform that action at this time.
0 commit comments