Commit 5ef00254 by MissYasiky

LIVE-000 使用初始化的 userId 作为聊天室用户的 userId

parent e910040e
......@@ -103,7 +103,12 @@
1. nickName 为nil时,聊天室首次点击输入栏会弹窗提示输入昵称。可通过设置defaultUser属性为NO屏蔽
2. 抽奖功能必须固定唯一的 nickName 和 userId,如果忘了填写上次的中奖信息,有固定的 userId 还会再次弹出相关填写页面
*/
PLVSocketObject *loginUser = [PLVSocketObject socketObjectForLoginWithRoomId:self.channelId nickName:self.nickName avatar:self.avatarUrl userId:nil accountId:[PLVLiveVideoConfig sharedInstance].userId authorization:nil userType:userType];
PLVSocketObject *loginUser = [PLVSocketObject socketObjectForLoginWithRoomId:self.channelId
nickName:self.nickName
avatar:self.avatarUrl
userId:[PLVLiveVideoConfig sharedInstance].param1
accountId:[PLVLiveVideoConfig sharedInstance].userId
authorization:nil userType:userType];
loginUser.defaultUser = NO; // 屏蔽聊天室点击输入栏弹窗提示输入昵称
[PLVChatroomManager sharedManager].loginUser = loginUser;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment