diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-11 14:49:44 +0200 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-18 10:11:37 +0200 |
commit | f7f3b2fc121764aa4460f68e51114b4383a228e3 (patch) | |
tree | 5d939c05e3d4b61c71f4c31b7d825e66c84b09aa /src/conn-olpc.c | |
parent | e16839691327a891db535c36085ca19075da25ab (diff) | |
download | telepathy-gabble-f7f3b2fc121764aa4460f68e51114b4383a228e3.tar.gz |
Set the activity_id a bit earlier
Diffstat (limited to 'src/conn-olpc.c')
-rw-r--r-- | src/conn-olpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-olpc.c b/src/conn-olpc.c index bd0a217e4..915e0450f 100644 --- a/src/conn-olpc.c +++ b/src/conn-olpc.c @@ -1402,7 +1402,6 @@ extract_current_activity (GabbleConnection *conn, activity = add_activity_info_in_set (conn, room_handle, contact, conn->olpc_pep_activities); - g_object_set (activity, "id", id, NULL); } tp_handle_unref (room_repo, room_handle); @@ -1410,6 +1409,7 @@ extract_current_activity (GabbleConnection *conn, /* update current-activity cache */ if (activity != NULL) { + g_object_set (activity, "id", id, NULL); g_hash_table_insert (conn->olpc_current_act, GUINT_TO_POINTER (contact_handle), g_object_ref (activity)); } |