[Bug 36010] New: request of search function but limited to an specific account, entity

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 6 00:51:20 CEST 2011


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

           Summary: request of search function but limited to an specific
                    account, entity
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: logger
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: mateu.batle at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


Current search function in tp-logger searches over all the logs (all accounts,
all users).

void tpl_log_manager_search_async (TplLogManager *manager,
    const gchar *text,
    gint type_mask,
    GAsyncReadyCallback callback,
    gpointer user_data);

Last function maybe in useful in some use cases, but overkill in others. For
example when we are just searching in the logs of a given contact. For that
case something much more optimal like the following would be useful.

void tpl_log_manager_search_by_entity_async (
    TplLogManager *manager,
    TpAccount *account,
    TplEntity *target,
    const gchar *text,
    gint type_mask,
    GAsyncReadyCallback callback,
    gpointer user_data);

So only the logs of the given contact (identified with the account and entity)
will be searched in.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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