chatscope / use-chat

React hook for state management in chat applications.
https://chatscope.io
MIT License
144 stars 23 forks source link

ChatProvider getUser should change according to the storage change #2

Closed Anberm closed 2 years ago

Anberm commented 3 years ago

image

Similarly, other storage-dependent Callbacks should also change

supersnager commented 3 years ago

@Anberm Thank you for the PR. Why have you closed it? Imho this is a bug and should be fixed.

Please check my comment in the PR. I will gladly merge this PR if you will do some changes and reopen it.

Anberm commented 3 years ago

@supersnager Yes, this should be fixed. I also modified some codes according to actual needs in the process of using it. I will rearrange the PR after that.