mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-07 07:37:11 -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) => {
|
||||
startSend();
|
||||
sendP.then(() => {
|
||||
socketJsonObj.emit = sendBackup;
|
||||
socketJsonObj.emit('message', ...args);
|
||||
socketJsonObj.send = sendBackup;
|
||||
socketJsonObj.send('message', {
|
||||
...args,
|
||||
});
|
||||
});
|
||||
};
|
||||
return finishSend;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue