Changes how we make sure self DMs sync, rather then setting the variable chatMembersSpanPlatforms.
Skip the "Selective Sync" check altogether.
Most of these changes are due to the change of function name from ChatSpansPlatforms to ChatShouldSync. The functions that called it actually set variable names of shouldSync and with the check for single user, makes more sense.
Summary
Changes how we make sure self DMs sync, rather then setting the variable
chatMembersSpanPlatforms
. Skip the "Selective Sync" check altogether.Most of these changes are due to the change of function name from
ChatSpansPlatforms
toChatShouldSync
. The functions that called it actually set variable names ofshouldSync
and with the check for single user, makes more sense.Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-57563