summaryrefslogtreecommitdiffstats
path: root/web/react/utils/async_client.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/utils/async_client.jsx')
-rw-r--r--web/react/utils/async_client.jsx14
1 files changed, 7 insertions, 7 deletions
diff --git a/web/react/utils/async_client.jsx b/web/react/utils/async_client.jsx
index 0b87bbd7b..09710ddf0 100644
--- a/web/react/utils/async_client.jsx
+++ b/web/react/utils/async_client.jsx
@@ -390,15 +390,15 @@ module.exports.getPosts = function(force, id, maxPosts) {
}
}
-function getMe() {
- if (isCallInProgress('getMe')) {
+function getMeSynchronous() {
+ if (isCallInProgress('getMeSynchronous')) {
return;
}
- callTracker.getMe = utils.getTimestamp();
- client.getMe(
+ callTracker.getMeSynchronous = utils.getTimestamp();
+ client.getMeSynchronous(
function(data, textStatus, xhr) {
- callTracker.getMe = 0;
+ callTracker.getMeSynchronous = 0;
if (xhr.status === 304 || !data) return;
@@ -409,11 +409,11 @@ function getMe() {
},
function(err) {
callTracker.getMe = 0;
- dispatchError(err, 'getMe');
+ dispatchError(err, 'getMeSynchronous');
}
);
}
-module.exports.getMe = getMe;
+module.exports.getMeSynchronous = getMeSynchronous;
module.exports.getStatuses = function() {
if (isCallInProgress('getStatuses')) return;