fix
This commit is contained in:
parent
c7ec177bfc
commit
aee470b583
|
@ -116,7 +116,7 @@ global.createMPPbridge = async function createMPPbridge({room, channel, uri}) {
|
|||
//else
|
||||
str = `${aname}: ${str}`;
|
||||
//if (str.startsWith('\\')) str = str.slice(1);
|
||||
if (message.attachments.size > 0) str += ' ' + message.attachments.join(' ');
|
||||
if (message.attachments.size > 0) str += ' ' + message.attachments.map(a => a.url).join(' ');
|
||||
if (str.length > 512) str = str.substr(0,511) + '…';
|
||||
//msgQueue.push(str);
|
||||
gClient.sendArray([{m:'a', message: str}]);
|
||||
|
|
Loading…
Reference in New Issue