protected void deliverSpeak ( ChatChannel channel , UserMessage message , int [ ] bodyIds ) { channel = intern ( channel ) ; for ( int bodyId : bodyIds ) { BodyObject bobj = getBodyObject ( bodyId ) ; if ( bobj != null && shouldDeliverSpeak ( channel , message , bobj ) ) { _chatHistory . record ( channel , bobj . getChatIdentifier ( message ) , message , bobj . getVisibleName ( ) ) ; bobj . postMessage ( ChatCodes . CHAT_CHANNEL_NOTIFICATION , channel , message ) ; } } }
Delivers the supplied chat channel message to the specified bodies .