telepathy: Keep Tpf.PersonaStore.personas up to date for cached stores
authorPhilip Withnall <philip@tecnocode.co.uk>
Fri, 6 Jan 2012 23:08:10 +0000 (23:08 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Mon, 9 Jan 2012 11:26:45 +0000 (11:26 +0000)
commitbf8dfa934b1e6fa31818d51a3eba5cbb04a1632b
tree460c1bb4b93fd3b230b43b06bd3c2f18ac1b9d4f
parentd258c86814c0dd4405a8a2b7a45f3d2a036fa1eb
telepathy: Keep Tpf.PersonaStore.personas up to date for cached stores

When loading a Tpf.PersonaStore from its cache, ensure Personas are inserted
into both the set of personas _and_ the map of IIDs to personas.

This fixes Tpf.PersonaStore.personas being empty for cached stores.

Helps: https://bugzilla.gnome.org/show_bug.cgi?id=667410
backends/telepathy/lib/tpf-persona-store.vala