]> git.0d.be Git - empathy.git/commit
Fix some races in the chatroom joining code
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Sun, 20 Mar 2011 12:44:51 +0000 (12:44 +0000)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 21 Mar 2011 09:24:15 +0000 (09:24 +0000)
commita8e558e10b1b5170346a75e1322f75d8ebad1662
treebf21843a30695d05f9e48c4d91493cdc2368d075
parent79cf371093d1a1b0d9120a4bbcc5d73c7c67842d
Fix some races in the chatroom joining code

The auto-reconnection logic for chatrooms was a bit odd. It would for
every chatroom that existed when the account manager was prepared
connect once to status-changed for each account for each chatroom...

Change this such that whenever an account connects, we simply
get the then current list of chatrooms and auto-connect those as needed.

This fixes issues when a chatroom gets removed from the manager and when
the auto-connect options on a chatrooms change.
src/empathy.c