private bool onChatActivityCancelReceived(ChatServiceEvents.ChatActivityCancelReceived evt)
 {
     if (isSpeechBubbleActive(evt.SessionId))
     {
         WorldSpeechBubble speechBubble = getSpeechBubble(evt.SessionId);
         if (speechBubble != null)
         {
             speechBubble.SetChatInactive();
         }
     }
     return(false);
 }
 private bool onSendChatActivityCancel(ChatServiceEvents.SendChatActivityCancel evt)
 {
     if (isSpeechBubbleActive(base.localSessionId))
     {
         WorldSpeechBubble speechBubble = getSpeechBubble(base.localSessionId);
         if (speechBubble != null)
         {
             speechBubble.SetChatInactive();
         }
     }
     return(false);
 }