Bug 657065 — Cache keeps around contacts from disabled accounts
authorPhilip Withnall <philip@tecnocode.co.uk>
Mon, 22 Aug 2011 22:54:08 +0000 (23:54 +0100)
committerPhilip Withnall <philip@tecnocode.co.uk>
Wed, 14 Sep 2011 19:38:04 +0000 (20:38 +0100)
commit419fbf6a4c4a4701f1520bac2ccc9269dded015b
tree27ad6d8634cc9281376071814be86effb9d77f57
parent554d96c18d4309b5e8169c68b8bb747502161a8e
Bug 657065 — Cache keeps around contacts from disabled accounts

Add some extra conditions on loading and storing the Tpf.PersonaStore cache,
so as to prevent loading it when the account is disabled or invalid, and to
prevent storing it unnecessarily.

This also adds some extra debug output to Tpf.PersonaStore's caching methods.

Closes: bgo#657065
NEWS
backends/telepathy/lib/tpf-persona-store.vala