changeset 11598:7d7de96eef1e

[gaim-migrate @ 13868] Let's finish creating a conversation before we tell the ui it was created... committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Mon, 03 Oct 2005 05:54:06 +0000
parents 036bd21c5560
children 767e3c0c5062
files src/conversation.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Mon Oct 03 04:57:30 2005 +0000
+++ b/src/conversation.c	Mon Oct 03 05:54:06 2005 +0000
@@ -307,10 +307,6 @@
 	/* copy features from the connection. */
 	conv->features = gc->flags;
 
-	ops  = conv->ui_ops = default_ops;
-	if (ops != NULL && ops->create_conversation != NULL)
-		ops->create_conversation(conv);
-
 	if (type == GAIM_CONV_TYPE_IM)
 	{
 		GaimBuddyIcon *icon;
@@ -345,6 +341,10 @@
 				gaim_prefs_get_bool("/core/logging/log_chats"));
 	}
 
+	ops  = conv->ui_ops = default_ops;
+	if (ops != NULL && ops->create_conversation != NULL)
+		ops->create_conversation(conv);
+
 	conversations = g_list_append(conversations, conv);
 
 	/* Auto-set the title. */