summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/roster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roster.c b/src/roster.c
index e60bd7163..263c2cf6a 100644
--- a/src/roster.c
+++ b/src/roster.c
@@ -1287,7 +1287,7 @@ gabble_roster_handle_set_blocked (GabbleRoster *roster,
g_return_val_if_fail (priv->conn->features &
GABBLE_CONNECTION_FEATURES_GOOGLE_ROSTER, FALSE);
- item = g_hash_table_lookup (priv->items, GINT_TO_POINTER (handle));
+ item = _gabble_roster_item_get (roster, handle);
orig_blocked = item->blocked;
if (blocked == orig_blocked)