diff options
author | Jonathon Jongsma <jjongsma@gnome.org> | 2009-01-08 05:49:08 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-19 03:09:34 +0800 |
commit | 500093ef89387aead8be8086e33c05fa250446e9 (patch) | |
tree | ef67732138768286eb3c6dcee88bc8983316015c /help/it | |
parent | 79fcbc9965a60f8099ea355188b954ae2444eddc (diff) | |
download | gsoc2013-empathy-500093ef89387aead8be8086e33c05fa250446e9.tar gsoc2013-empathy-500093ef89387aead8be8086e33c05fa250446e9.tar.gz gsoc2013-empathy-500093ef89387aead8be8086e33c05fa250446e9.tar.bz2 gsoc2013-empathy-500093ef89387aead8be8086e33c05fa250446e9.tar.lz gsoc2013-empathy-500093ef89387aead8be8086e33c05fa250446e9.tar.xz gsoc2013-empathy-500093ef89387aead8be8086e33c05fa250446e9.tar.zst gsoc2013-empathy-500093ef89387aead8be8086e33c05fa250446e9.zip |
Handle the case where a user's id changes in a chatroom
Telepathy-glib has a enum value for the MembersChanged signal to signify that a
user's ID has changed. Previously, empathy was simply interpreting this as if a
user with the old name had left the chat and a different user with the new name
had entered the chat. This change handles this case more gracefully by updating
the contact's id (and name) when this change reason is present
One thing that does not yet work with this patch is if you are engaged in a
private chat with a person and they change their nick in the middle of the chat.
Then the EmpathyContact* that you are chatting with is no longer the
EmpathyContact* representing the remote user, so messages won't be delivered
properly. When we detect that a user has been 'renamed', we probably need to
somehow go through all of the private chats with that person and swap out the
old (invalid) EmpathyContact* and replace it with the new one so that the chat
can continue without interruption.
Diffstat (limited to 'help/it')
0 files changed, 0 insertions, 0 deletions