mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-07 23:55:12 -04:00
Fixed sending message.
This commit is contained in:
parent
44c26f9696
commit
3707f554be
1 changed files with 4 additions and 2 deletions
|
@ -45,8 +45,10 @@ describe('Messages in the COLLABROOM', function () {
|
||||||
socketJsonObj.send = (...args) => {
|
socketJsonObj.send = (...args) => {
|
||||||
startSend();
|
startSend();
|
||||||
sendP.then(() => {
|
sendP.then(() => {
|
||||||
socketJsonObj.emit = sendBackup;
|
socketJsonObj.send = sendBackup;
|
||||||
socketJsonObj.emit('message', ...args);
|
socketJsonObj.send('message', {
|
||||||
|
...args,
|
||||||
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
return finishSend;
|
return finishSend;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue