diff mcabber/src/commands.c @ 1130:b2040a7fb7fc

Refresh chat buffer when sending a message in non-chatmode When chat mode is off and we send a message, chat mode is enabled but the contact buffer isn't displayed.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 21 Jan 2007 15:13:36 +0100
parents 771eb6aa2d41
children 5d7c05932b13
line wrap: on
line diff
--- a/mcabber/src/commands.c	Sat Jan 20 19:39:54 2007 +0100
+++ b/mcabber/src/commands.c	Sun Jan 21 15:13:36 2007 +0100
@@ -982,6 +982,7 @@
   gpointer bud;
 
   scr_set_chatmode(TRUE);
+  scr_ShowBuddyWindow();
 
   if (!current_buddy) {
     scr_LogPrint(LPRINT_NORMAL,
@@ -1073,6 +1074,7 @@
   }
 
   scr_set_chatmode(TRUE);
+  scr_ShowBuddyWindow();
 
   if (!strcasecmp(subcmd, "send_to")) {
     int err = FALSE;