GNOME Bugzilla – Bug 602328
GetContactAttributes is called on every sent/received messages
Last modified: 2011-08-29 10:12:28 UTC
dbus-monitor --session shows that Empathy client calls GetContactAttributes every time a chat line is sent or received or ChatState is changed. #telepathy: rtagger: Zdra: dbus-monitor monitors the --session. Every time I send a message to your gabble.echo bot, the response triggers GetContactAttributes call jsoerd: Yup jsoerd: not just for every message jsoerd: for every letter you type as well jsoerd: that's pretty bad
Thanks for reporting this pretty nasty bug. I'm on it.
By tracking this issue I discoverd various bugs: - The ChatStateChanged signal was catched twice in Empathy. This is now fixed in master and gnome-2.28. - empathy_tp_contact_factory_get_from_handle and _from_id were leaking the EmpatyContact object. I have a branch fixing that waiting for review. - Tp-glib always call GetContactAttributes() even if the TpContact object already exists. The latter is the reason of this bug. I forwared it to tp-glib and so can close this bug. https://bugs.freedesktop.org/show_bug.cgi?id=25181