forked from Ivasoft/mattermost-mobile
revers to original
This commit is contained in:
@@ -127,8 +127,8 @@ export default function CreateDirectMessage({
|
||||
}, []);
|
||||
|
||||
const getProfiles = useCallback(debounce(() => {
|
||||
setLoading(true);
|
||||
if (next.current && !loading && !term && mounted.current) {
|
||||
setLoading(true);
|
||||
if (restrictDirectMessage) {
|
||||
fetchProfilesInTeam(serverUrl, currentTeamId, page.current + 1, General.PROFILE_CHUNK_SIZE).then(loadedProfiles);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user