|
@@ -493,7 +493,8 @@
|
|
|
|
|
|
self.title = [NSString stringWithFormat:@"%@ 临时会话 (%@) ",userName, str];
|
|
|
}else{
|
|
|
-
|
|
|
+
|
|
|
+ self.title = [NSString stringWithFormat:@"%@ (%@) ",userName, str];
|
|
|
}
|
|
|
}else {
|
|
|
if (_useInfoTempChat==11) {
|
|
@@ -887,7 +888,10 @@
|
|
|
_strURLGoback=@"1000";
|
|
|
|
|
|
}
|
|
|
-
|
|
|
+- (void)handleGesture:(UIGestureRecognizer *)guest{
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
- (void)viewDidLoad
|
|
|
{
|
|
|
[super viewDidLoad];
|
|
@@ -1391,7 +1395,7 @@ NSMutableArray* temp = [[NSMutableArray alloc]init];
|
|
|
});
|
|
|
|
|
|
}else {
|
|
|
- _isRefreshing = NO;
|
|
|
+ _isRefreshing = NO;//[_table gotoLastRow:NO];
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -1968,10 +1972,14 @@ NSMutableArray* temp = [[NSMutableArray alloc]init];
|
|
|
}
|
|
|
//删除房间
|
|
|
- (void)deleRoom{
|
|
|
+
|
|
|
|
|
|
+
|
|
|
+ // [g_notify addObserver:self selector:@selector(deleRoom) name:@"act_roomMemberDeljieshan" object:nil];
|
|
|
+// [g_notify addObserver:self selector:@selector(deleRoom) name:@"deleRoom" object:nil];
|
|
|
|
|
|
- [g_notify postNotificationName:kUpdateUserNotifaction object:nil];
|
|
|
- [self.navigationController popViewControllerAnimated:YES];
|
|
|
+// [g_notify postNotificationName:kUpdateUserNotifaction object:nil];
|
|
|
+// [self.navigationController popViewControllerAnimated:YES];
|
|
|
}
|
|
|
-(void)viewWillAppear:(BOOL)animated{
|
|
|
[super viewWillAppear:animated];
|
|
@@ -1980,10 +1988,6 @@ NSMutableArray* temp = [[NSMutableArray alloc]init];
|
|
|
_strURLGoback=@"1000";
|
|
|
_enterFirst=0;
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- [g_notify addObserver:self selector:@selector(deleRoom) name:@"act_roomMemberDeljieshan" object:nil];
|
|
|
- [g_notify addObserver:self selector:@selector(deleRoom) name:@"deleRoom" object:nil];
|
|
|
[g_notify addObserver:self selector:@selector(openLong:) name:@"KOPENLONG" object:nil];
|
|
|
// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
//
|
|
@@ -3363,7 +3367,7 @@ NSMutableArray* temp = [[NSMutableArray alloc]init];
|
|
|
[UIView animateWithDuration:0.1f animations:^{
|
|
|
// self.tableFooter.frame = CGRectMake(0, self.view.frame.size.height+deltaY-self.heightFooter, JX_SCREEN_WIDTH, self.heightFooter);
|
|
|
[_table setFrame:CGRectMake(0, 0+_noticeHeight, _table.frame.size.width, self.view.frame.size.height+deltaY-self.heightFooter-_noticeHeight-(JX_SCREEN_HEIGHT>=812?20:10))];
|
|
|
- [_table gotoLastRow:NO];
|
|
|
+ // [_table gotoLastRow:NO];
|
|
|
} completion:^(BOOL finished) {
|
|
|
}];
|
|
|
[CATransaction commit];
|
|
@@ -4195,7 +4199,7 @@ NSMutableArray* temp = [[NSMutableArray alloc]init];
|
|
|
return [JXEmojiCell getChatCellHeight:msg];
|
|
|
break;
|
|
|
case kWCMessageTypeVoice:
|
|
|
- return [JXAudioCell getChatCellHeight:msg]+5;
|
|
|
+ return [JXAudioCell getChatCellHeight:msg];
|
|
|
break;
|
|
|
case kWCMessageTypeLocation:
|
|
|
return [JXLocationCell getChatCellHeight:msg];
|
|
@@ -6169,7 +6173,7 @@ NSMutableArray* temp = [[NSMutableArray alloc]init];
|
|
|
-(void)doBeginEdit{
|
|
|
_table.frame = CGRectMake(0, self.heightHeader+_noticeHeight, JX_SCREEN_WIDTH, self.view.frame.size.height-faceHeight-self.heightHeader-self.heightFooter-_noticeHeight);
|
|
|
self.tableFooter.frame = CGRectMake(0, _table.frame.origin.y+_table.frame.size.height, JX_SCREEN_WIDTH, self.heightFooter);
|
|
|
- [_table gotoLastRow:NO];
|
|
|
+ //[_table gotoLastRow:NO];
|
|
|
}
|
|
|
|
|
|
-(void)doEndEdit{
|
|
@@ -6216,7 +6220,7 @@ NSMutableArray* temp = [[NSMutableArray alloc]init];
|
|
|
|
|
|
- (BOOL) hideKeyboard:(BOOL)gotoLastRow{
|
|
|
if(gotoLastRow)
|
|
|
- [_table gotoLastRow:NO];
|
|
|
+ // [_table gotoLastRow:NO];
|
|
|
_btnFace.selected = NO;
|
|
|
[_messageText resignFirstResponder];
|
|
|
_messageText.inputView = nil;
|