summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/roster.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/roster.c b/src/roster.c
index 64360cea0..d2cc4dae8 100644
--- a/src/roster.c
+++ b/src/roster.c
@@ -3601,6 +3601,9 @@ gabble_roster_handle_gets_presence_from_us (GabbleRoster *self,
if (item == NULL)
return FALSE;
+ if (item->blocked)
+ return FALSE;
+
return (item->subscription == GABBLE_ROSTER_SUBSCRIPTION_FROM ||
item->subscription == GABBLE_ROSTER_SUBSCRIPTION_BOTH);
}