Bug 36010 - request of search function but limited to an specific account, entity
Summary: request of search function but limited to an specific account, entity
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: logger (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 15:51 UTC by Mateu Batle
Modified: 2019-12-03 19:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.