Clear pending subscriptions/notifications list of blocked contacts
Currently if I block a spam contact from chat details, the pending subscriptions list is not cleared automatically. Also if a user is blocked using another client, the subscription list is not cleared. I think when gajim starts it should clear subscription requests of already blocked contacts.
Versions
- OS: Debian sid
- Gajim version: 1.5.4-1
- GTK version: 4.8.2+ds-4
- Python-nbxmpp version: 3.2.5-1
Steps to reproduce the problem
- Send a contact request from another account and send a message
- from the chat window, use block contact option
- check the pending requests list (at bottom left)
Expected behavior
The subscription request should be cleared from notifications along with the block.
Actual behavior
we have to manually clear the blocked contact from the pending requests list/notifications.