fix(fediverse): move mentions array to string. allow events for error handling.
This commit is contained in:
parent
dddb8ad014
commit
50e9f808da
2 changed files with 5 additions and 5 deletions
2
utils.js
2
utils.js
|
@ -39,7 +39,7 @@ const eventHandler = (args, roomId, command, event) => {
|
|||
break;
|
||||
case 'post': case 'reply': case 'media': case 'mediareply':
|
||||
case 'random': case 'randomreply': case 'randommedia': case 'randommediareply':
|
||||
args.push(roomId, userInput, {
|
||||
args.push(roomId, event, userInput, {
|
||||
isReply: !!~command.indexOf('reply'),
|
||||
hasMedia: !!~command.indexOf('media'),
|
||||
hasSubject: !!~command.indexOf('random'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue