[Bug 74030] New: CM should know the account path of its connections

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 24 12:04:20 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=74030

          Priority: medium
            Bug ID: 74030
          Assignee: telepathy-bugs at lists.freedesktop.org
           Summary: CM should know the account path of its connections
        QA Contact: telepathy-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: xclaesse at gmail.com
          Hardware: Other
            Status: NEW
           Version: git master
         Component: general
           Product: Telepathy

When storing information on disk, it makes sense to include the account path
into the on-disk path.

For example offline roster cache (bug #62378) done from the CM should store its
DB in "~/.cache/telepathy/roster/gabble/jabber/acc0/user at example.com".

Another example is telepathy-logger could also store its logs in similar
location.

TpConnection already knows its TpAccount most of the time (when both objects
exists within the same TpSimpleClientFactory). When only high-level APIs are
used that should be always the case.

TpBaseConnection however doesn't know anything about its Account. This could be
fixed by adding a connection manager parameter that MC will set.

Maybe the account path could then become a property of the Connection iface,
that would allow TpConnection to ensure it always have its TpAccount.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list