Privacy lists are requested even if support is not advertised
Bug description
A query IQ is sent with the jabber:iq:privacy namespace upon connection, even if the server doesn't advertise support for that XEP. I discovered this because the server I'm trying to connect to doesn't send an error response IQ (thus keeping me from establishing a session), but this is pretty minor, since a compliant server should reject it.
Steps to reproduce
- Add an account for a server that doesn't support XEP-0016.
- Open the XML console for that account.
- Connect to that account.
- Observe that the privacy lists query is sent, even though support is not returned by service discovery.
Software versions
OS version: Arch Linux
GTK version: 2.24.27
PyGTK version: 2.24.0