[folks] Don't use a magic string in the Tp backend.



commit c04e2f11290abf229e188901cd21430b4ae32314
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Mon Jan 3 14:15:58 2011 -0800

    Don't use a magic string in the Tp backend.

 backends/telepathy/lib/tpf-persona.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona.vala b/backends/telepathy/lib/tpf-persona.vala
index 66de0e9..d98a129 100644
--- a/backends/telepathy/lib/tpf-persona.vala
+++ b/backends/telepathy/lib/tpf-persona.vala
@@ -215,7 +215,7 @@ public class Tpf.Persona : Folks.Persona,
       unowned string id = contact.get_identifier ();
       unowned Connection connection = contact.connection;
       var account = this._account_for_connection (connection);
-      var uid = this.build_uid ("telepathy", account.get_protocol (), id);
+      var uid = this.build_uid (store.type_id, account.get_protocol (), id);
 
       Object (alias: contact.get_alias (),
               contact: contact,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]