diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index bb274c7e6..732c7dc8a 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -3077,6 +3077,12 @@ cmd_blocked(ProfWin* window, const char* const command, gchar** args) if (!res) { cons_show("User %s already blocked.", args[1]); } + + // remove the subscription as well + if (presence_sub_request_exists(jid)) { + presence_subscription(jid, PRESENCE_UNSUBSCRIBED); + } + return TRUE; }