125
127
gossip_contact_get_id (contact));
126
128
gossip_sound_play (GOSSIP_SOUND_OFFLINE);
129
131
g_hash_table_remove (contact_states, contact);
133
135
account = gossip_contact_get_account (contact);
135
137
/* Only show notifications after being online for some
136
138
* time instead of spamming notifications each time we
140
142
!g_hash_table_lookup (contact_states, contact)) {
141
143
gossip_debug (DEBUG_DOMAIN, "Presence update, contact:'%s' is now online",
142
144
gossip_contact_get_id (contact));
143
145
gossip_sound_play (GOSSIP_SOUND_ONLINE);
148
150
g_object_ref (presence));