Optimisation for KIMProxy usage in KMail: don't hit kabc for the sender's uid unless the KIMProxy actually knows of any IM contacts that are in the addressbook.
Optimisation for KIMProxy usage in KMail: don't hit kabc for the sender's uid unless the KIMProxy actually knows of any IM contacts that are in the addressbook.

svn path=/trunk/kdepim/; revision=312917

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi