log-store-xml should use tp_account_get_normalized_name to get self_id.
@wjt
Submitted by Will Thompson Assigned to Telepathy bugs list
Description
In bug 54814, Xavier wrote:
self_id is also wrong, you can't parse the object path to get the self_id. It should be tp_account_get_normalized_id()
He's referring to this code in log-store-xml.c:
if (!tp_account_parse_object_path ( tp_proxy_get_object_path (TP_PROXY (account)), NULL, NULL, &self_id, &error)) { DEBUG ("Cannot get self identifier from account: %s", error->message); // ... }
and then self_id is used as if it were the user's own identifier, which it is not.