Skip to content

Commit

Permalink
Make sure to handle the connection status to WPCOM correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloercoli committed Apr 16, 2015
1 parent 8eef4bf commit 137258c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public void refreshMetadata(boolean isUserConnected, boolean isWordPressComUser,
return;
}

if (isWordPressComUser) {
if (isUserConnected && isWordPressComUser) {
mWpcomUserName = username;
// Re-unify the user
if (getAnonID() != null) {
Expand Down

0 comments on commit 137258c

Please sign in to comment.