                 
                 
             } else {
+                
+                self.micOn = false
+                
                 self.audioButton.hidden = true;
                 
                 self.rightButton.tintColor = appStyle.chatAttachColor

            super.didPressRightButton(sender)
            
        } else {
            
            if(self.audioButton.hidden){
                //self.textView.resignFirstResponder()
                
                self.rightButton.tintColor = appStyle.chatAttachColor
                self.rightButton.setImage(UIImage.bundled("keyboard_button"), forState: UIControlState.Normal)

            }
            
        } else {
            
            self.stickersButton.hidden = false
            if(self.micOn == false){
                
                self.rightButton.tintColor = appStyle.chatAttachColor
                self.rightButton.setImage(UIImage.bundled("aa_micbutton"), forState: UIControlState.Normal)
                self.rightButton.setTitle("", forState: UIControlState.Normal)
                self.rightButton.enabled = true
                
            }
            
        }
        
