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.
--- 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;