房间内私聊

This commit is contained in:
fengshuo
2021-12-01 18:38:59 +08:00
committed by zu
parent 509c455528
commit 4b55881d1c

View File

@@ -11,6 +11,7 @@
///Tool
#import "AccountInfoStorage.h"
#import "TTPopup.h"
#import "RtcManager.h"
///Model
#import "XPRoomMenuItem.h"
#import "MicroQueueModel.h"
@@ -20,8 +21,7 @@
///View
#import "XPRoomSendTextView.h"
#import "XPSendGiftView.h"
#import "RtcManager.h"
#import "SessionListViewController.h"
@@ -89,6 +89,10 @@
[TTPopup popupView:giftView style:TTPopupStyleActionSheet];
}
break;
case XPRoomMenuItemType_Message: {
SessionListViewController * sessionList = [[SessionListViewController alloc] initWithType:SessionListOpenTypeRoom];
[self.delegate.getCurrentNav pushViewController:sessionList animated:YES];
}
default:
break;
}
@@ -217,7 +221,6 @@
[_messageButton setImage:[UIImage imageNamed:@"room_menu_new_message"] forState:UIControlStateSelected];
_messageButton.tag = XPRoomMenuItemType_Message;
[_messageButton addTarget:self action:@selector(menuButtonAction:) forControlEvents:UIControlEventTouchUpInside];
_messageButton.hidden = YES;
}
return _messageButton;
}