Bug 36010

Summary: request of search function but limited to an specific account, entity
Product: Telepathy Reporter: Mateu Batle <mateu.batle>
Component: loggerAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Mateu Batle 2011-04-05 15:51:19 UTC
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.
Comment 1 GitLab Migration User 2019-12-03 19:30:30 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-logger/issues/11.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.