This commit is contained in:
Lamp 2022-01-03 21:56:30 -08:00
parent c7ec177bfc
commit aee470b583
1 changed files with 1 additions and 1 deletions

View File

@ -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}]);