Skip to content
This repository has been archived by the owner on Jul 2, 2019. It is now read-only.

Swift 接入2.3.2版本,conversation,message 调用clientID出错 #405

Open
YunyueLin opened this issue Sep 30, 2018 · 0 comments
Open

Comments

@YunyueLin
Copy link

Base Info for this issue

  1. ChatKit Version:2.3.2
  2. App-ID: 60yajftfxAUaDkJIyIvHynPv
  3. Language:Swift
  4. iOS System Version:iOS11.4.1
  5. Prototype(是否是真机):false
  6. Issue Type:Crash、Bug、Enhancement(希望能支持一个新需求)、Q-A

Bug

1. How to repeat the problem.

获取用户 ID 的时候,在 fetchProfilesBlock 中获取到的userIds正常,创建 LCCKUser 时也是使用的正确的userID (userId 和 clientId 都填的一个), 但是 openProfileBlock 中拿到的userIds 、 user.clientId 和 LCChatKit.sharedInstance().clientId都不是之前设置的,譬如之前设置 "Tom",拿到 "5bacc0df02612d001aaaefd3" ,因为需要在发消息时通过 sendMessageHookBlock 里面的message.clientId 来和自己的后台做操作,所以需要拿到之前的,请问这是加密过后的吗?如果要拿到之前自己设置的clientId,要怎么处理

2. Please help me in this way.

麻烦交一下这个问题,因为demo 上拿到的是正常的

3. Here is a Demo.

4. Here is my Debug log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant