changeset 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 1a109ebf3f24
children 73e6ca0a03a9
files mcabber/src/commands.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;