forked from Ivasoft/mattermost-mobile
* channels update on teamMate display name change
* code clean up
* fixes DM and GM display name
* code clean up
* ts fix
* removed extra await
* implemented some guard conditions
* code clean up
* config & license ws events - wip
* tested config change on local server
* adding license to the ws event
* fix display name
* fix display name
* replace map + filter with a reduce
* rename function name
* adding missing await
* update following review
* moved differsFromLocalNameFormat to /queries/preference
* fix gm/dm
* Revert "fix gm/dm"
This reverts commit 92905c707d.
* added guard clause on DM channel type
* refactor function signature