|
@@ -420,9 +420,7 @@ static const CGFloat kQuoteViewHeight = 46.0f;
|
|
|
|
|
|
|
|
|
|
|
|
|
- (IBAction)fasongBt:(id)sender {
|
|
- (IBAction)fasongBt:(id)sender {
|
|
|
- if ([self checkIsNetworkUnavailable]) {
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
NSLog(@"fasongBt:1");
|
|
NSLog(@"fasongBt:1");
|
|
|
if(_isfriend){
|
|
if(_isfriend){
|
|
|
NSLog(@"fasongBt:2");
|
|
NSLog(@"fasongBt:2");
|
|
@@ -681,9 +679,7 @@ static const CGFloat kQuoteViewHeight = 46.0f;
|
|
|
#pragma mark chatpopViewDelegate
|
|
#pragma mark chatpopViewDelegate
|
|
|
|
|
|
|
|
-(void)actionNote:(NSString *)note{
|
|
-(void)actionNote:(NSString *)note{
|
|
|
- if ([self checkIsNetworkUnavailable]) {
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
[self hidBottonView];
|
|
[self hidBottonView];
|
|
|
if([note isEqualToString:@"1"]){//发送图片
|
|
if([note isEqualToString:@"1"]){//发送图片
|
|
|
[self showImagePicker:1];
|
|
[self showImagePicker:1];
|
|
@@ -850,9 +846,6 @@ static const CGFloat kQuoteViewHeight = 46.0f;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
[cell setResendMessageBlock:^(ChatMessageModel *message) {
|
|
[cell setResendMessageBlock:^(ChatMessageModel *message) {
|
|
|
- if ([weakself checkIsNetworkUnavailable]) {
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
if (message.isUploadFile) {
|
|
if (message.isUploadFile) {
|
|
|
[weakself resendFile:message];
|
|
[weakself resendFile:message];
|
|
|
} else {
|
|
} else {
|
|
@@ -1913,9 +1906,7 @@ static const CGFloat kQuoteViewHeight = 46.0f;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-(void)UpInside{
|
|
-(void)UpInside{
|
|
|
- if ([self checkIsNetworkUnavailable]) {
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
_AVRecordBt.layer.backgroundColor = globalColor(GCTypeDark2).CGColor;
|
|
_AVRecordBt.layer.backgroundColor = globalColor(GCTypeDark2).CGColor;
|
|
|
[_AVRecordBt setTitle:@" 按住 说话" forState:UIControlStateNormal];
|
|
[_AVRecordBt setTitle:@" 按住 说话" forState:UIControlStateNormal];
|
|
|
NSLog(@"UpInside----------");
|
|
NSLog(@"UpInside----------");
|
|
@@ -2027,6 +2018,9 @@ static const CGFloat kQuoteViewHeight = 46.0f;
|
|
|
[MBProgressHUD showWithText:@"群聊暂时不支持该功能"];
|
|
[MBProgressHUD showWithText:@"群聊暂时不支持该功能"];
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+ if ([self checkIsNetworkUnavailable]) {
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
BOOL audioOnly=YES;
|
|
BOOL audioOnly=YES;
|
|
|
if(state==4){
|
|
if(state==4){
|
|
|
audioOnly = YES;
|
|
audioOnly = YES;
|