diff --git a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/commands/RequestWelcomeMessageCommand.as b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/commands/RequestWelcomeMessageCommand.as new file mode 100755 index 0000000000..878a108029 --- /dev/null +++ b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/commands/RequestWelcomeMessageCommand.as @@ -0,0 +1,15 @@ +package org.bigbluebutton.lib.chat.commands { + import org.bigbluebutton.lib.chat.services.IChatMessageService; + + import robotlegs.bender.bundles.mvcs.Command; + + public class RequestWelcomeMessageCommand extends Command { + + [Inject] + public var chatService:IChatMessageService; + + override public function execute():void { + chatService.sendWelcomeMessage(); + } + } +} diff --git a/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/commands/RequestWelcomeMessageSignal.as b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/commands/RequestWelcomeMessageSignal.as new file mode 100755 index 0000000000..89cb6a7e9c --- /dev/null +++ b/clients/flash/common-library/src/main/actionscript/org/bigbluebutton/lib/chat/commands/RequestWelcomeMessageSignal.as @@ -0,0 +1,9 @@ +package org.bigbluebutton.lib.chat.commands { + import org.osflash.signals.Signal; + + public class RequestWelcomeMessageSignal extends Signal { + public function RequestWelcomeMessageSignal() { + super(); + } + } +}