openim-sdk-core icon indicating copy to clipboard operation
openim-sdk-core copied to clipboard

Feature: 1. setUserInfo combine setUserInfoEx 2. updateLogs add Ex

Open AndrewZuo01 opened this issue 1 year ago • 2 comments

Checklist

  • [X] I've searched for similar issues and couldn't find anything matching
  • [X] I've discussed this feature request in the OpenIMSDK Slack and got positive feedback

Is this feature request related to a problem?

❎ No

Problem Description

  1. setUserInfoEx and setUserInfo are the same 2. updateLogs missing Ex field

Solution Description

  1. combine setUserInfo and setUserInfoEx to one function setUserInfo in sdkcore.
  2. add ex field to updateLogs

Benefits

  1. since setUserInfoEx and setUserInfo have the same json input, these simplfy the code
  2. add ex field to updateLogs can enhance customizability

Potential Drawbacks

No response

Additional Information

No response

AndrewZuo01 avatar Jan 15 '24 09:01 AndrewZuo01