mcabber/src/commands.c
changeset 212 465d98d2f8e3
parent 210 f64818ba3503
child 213 4fcdbfdf7c20
--- a/mcabber/src/commands.c	Sun May 08 11:24:01 2005 +0000
+++ b/mcabber/src/commands.c	Sun May 08 19:59:04 2005 +0000
@@ -321,6 +321,9 @@
   if (!current_buddy) return;
 
   group = buddy_getgroup(BUDDATA(current_buddy));
+  // We'll have to redraw the chat window if we're not currently on the group
+  // entry itself, because it means we'll have to leave the current buddy
+  // chat window.
   leave_windowbuddy = (group != BUDDATA(current_buddy));
 
   if (!(buddy_gettype(group) & ROSTER_TYPE_GROUP)) {