# HG changeset patch # User Mikael Berthe # Date 1169388816 -3600 # Node ID b2040a7fb7fcecbd6399e766a9a582d1e94448d5 # Parent 1a109ebf3f2491c65ff0b7aaaf24d46f3845f6c3 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. diff -r 1a109ebf3f24 -r b2040a7fb7fc mcabber/src/commands.c --- 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;