[folks] Don't warn if the 'stored' channel doesn't exist.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Don't warn if the 'stored' channel doesn't exist.
- Date: Mon, 9 Aug 2010 23:32:58 +0000 (UTC)
commit 24e75a2eac7299692a2981cadea33ff5fc3385bf
Author: Travis Reitter <travis reitter collabora co uk>
Date: Mon Aug 9 16:32:10 2010 -0700
Don't warn if the 'stored' channel doesn't exist.
backends/telepathy/tpf-persona-store.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/backends/telepathy/tpf-persona-store.vala b/backends/telepathy/tpf-persona-store.vala
index 4391154..db66021 100644
--- a/backends/telepathy/tpf-persona-store.vala
+++ b/backends/telepathy/tpf-persona-store.vala
@@ -829,7 +829,9 @@ public class Tpf.PersonaStore : Folks.PersonaStore
}
catch (GLib.Error e)
{
- warning ("failed to add channel '%s': %s\n", name, e.message);
+ /* the 'stored' channel doesn't always exist for the CM */
+ if (name != "stored")
+ warning ("failed to add channel '%s': %s\n", name, e.message);
/* XXX: assuming there's no decent way to recover from this */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]