Fixes #1558, this.get
is not a function
This commit is contained in:
parent
3e0361ca65
commit
7a990ae0b9
@ -17,6 +17,7 @@
|
|||||||
- #1532: Converse reloads on enter pressed in the filter box
|
- #1532: Converse reloads on enter pressed in the filter box
|
||||||
- #1550: Legitimate carbons being blocked due to erroneous forgery check
|
- #1550: Legitimate carbons being blocked due to erroneous forgery check
|
||||||
- #1554: Room auto-configuration broke if the config form contained fields with type `fixed`
|
- #1554: Room auto-configuration broke if the config form contained fields with type `fixed`
|
||||||
|
- #1558: `this.get` is not a function error when `forward_messages` is set to `true`.
|
||||||
|
|
||||||
- **Breaking changes**:
|
- **Breaking changes**:
|
||||||
- Rename `muc_disable_moderator_commands` to [muc_disable_slash_commands](https://conversejs.org/docs/html/configuration.html#muc-disable-slash-commands).
|
- Rename `muc_disable_moderator_commands` to [muc_disable_slash_commands](https://conversejs.org/docs/html/configuration.html#muc-disable-slash-commands).
|
||||||
|
@ -1792,11 +1792,11 @@ _converse.api = {
|
|||||||
_converse.connection.send(
|
_converse.connection.send(
|
||||||
$msg({
|
$msg({
|
||||||
'to': _converse.bare_jid,
|
'to': _converse.bare_jid,
|
||||||
'type': this.get('message_type'),
|
'type': stanza.getAttribute('type'),
|
||||||
}).c('forwarded', {'xmlns': Strophe.NS.FORWARD})
|
}).c('forwarded', {'xmlns': Strophe.NS.FORWARD})
|
||||||
.c('delay', {
|
.c('delay', {
|
||||||
'xmns': Strophe.NS.DELAY,
|
'xmns': Strophe.NS.DELAY,
|
||||||
'stamp': (new Date()).toISOString()
|
'stamp': (new Date()).toISOString()
|
||||||
}).up()
|
}).up()
|
||||||
.cnode(stanza.tree())
|
.cnode(stanza.tree())
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user