Initial handling of the 'update_caption_owner_message'
This commit is contained in:
parent
6a984c2b68
commit
9b85629f2c
10
bigbluebutton-html5/imports/api/captions/server/modifiers/eventHandlers.js
Normal file → Executable file
10
bigbluebutton-html5/imports/api/captions/server/modifiers/eventHandlers.js
Normal file → Executable file
@ -34,6 +34,16 @@ eventEmitter.on('send_caption_history_reply_message', function (arg) {
|
||||
return arg.callback();
|
||||
});
|
||||
|
||||
eventEmitter.on('update_caption_owner_message', function(arg) {
|
||||
console.error(JSON.stringify(arg));
|
||||
let payload = arg.payload;
|
||||
|
||||
//#TODO updating the channel's owner's information here
|
||||
//Need to figure what collection to use, Captions or Channels.
|
||||
|
||||
return arg.callback();
|
||||
});
|
||||
|
||||
eventEmitter.on('edit_caption_history_message', function (arg) {
|
||||
console.error(JSON.stringify(arg));
|
||||
let payload = arg.payload;
|
||||
|
@ -151,4 +151,5 @@ const handledMessageTypes = [
|
||||
'get_all_meetings_reply_message',
|
||||
'send_caption_history_reply_message',
|
||||
'edit_caption_history_message',
|
||||
'update_caption_owner_message',
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user