aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/session-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session-service.c b/src/session-service.c
index 289bff8..5746f7d 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -406,7 +406,7 @@ compare_users_by_username (const gchar *a,
UserData *user1 = (UserData *)a;
UserData *user2 = (UserData *)b;
- return g_strcmp0 (user1->user_name, user2->user_name);
+ return g_strcmp0 (user1->real_name, user2->real_name);
}
/* Builds up the menu for us */