Skip to content

Commit 137258c

Browse files
committed
Make sure to handle the connection status to WPCOM correctly
1 parent 8eef4bf commit 137258c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPressAnalytics/src/main/java/org/wordpress/android/analytics/AnalyticsTrackerNosara.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ public void refreshMetadata(boolean isUserConnected, boolean isWordPressComUser,
400400
return;
401401
}
402402

403-
if (isWordPressComUser) {
403+
if (isUserConnected && isWordPressComUser) {
404404
mWpcomUserName = username;
405405
// Re-unify the user
406406
if (getAnonID() != null) {

0 commit comments

Comments
 (0)