|
@@ -62143,10 +62143,13 @@ _converse_core__WEBPACK_IMPORTED_MODULE_2__["default"].plugins.add('converse-cha
|
|
const receipt_stanza = $msg({
|
|
const receipt_stanza = $msg({
|
|
'from': _converse.connection.jid,
|
|
'from': _converse.connection.jid,
|
|
'id': _converse.connection.getUniqueId(),
|
|
'id': _converse.connection.getUniqueId(),
|
|
- 'to': to_jid
|
|
|
|
|
|
+ 'to': to_jid,
|
|
|
|
+ 'type': 'chat'
|
|
}).c('received', {
|
|
}).c('received', {
|
|
'xmlns': Strophe.NS.RECEIPTS,
|
|
'xmlns': Strophe.NS.RECEIPTS,
|
|
'id': id
|
|
'id': id
|
|
|
|
+ }).up().c('store', {
|
|
|
|
+ 'xmlns': Strophe.NS.HINTS
|
|
}).up();
|
|
}).up();
|
|
|
|
|
|
_converse.api.send(receipt_stanza);
|
|
_converse.api.send(receipt_stanza);
|