changeset 3782:a3aca202aa04

[gaim-migrate @ 3922] I lose. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 22 Oct 2002 00:45:58 +0000
parents c2394f352015
children 62f1fd706de6
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Tue Oct 22 00:32:47 2002 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Oct 22 00:45:58 2002 +0000
@@ -4509,7 +4509,20 @@
 			}
 			aim_bos_changevisibility(od->sess, od->conn, AIM_VISIBILITYCHANGE_DENYADD, buf);
 			break;
-			default:
+		case 5:
+			GList *g = gc->groups;
+			at  = 0;
+			while (g) {
+			        list = ((struct group *)g->data)->members;
+				while (list) {
+					at += g_snprintf(buf + at, sizeof(buf) - at, "%s&", (char *)list->data);
+					list = list->next;
+				}
+				g = g->next;
+			}			
+			aim_bos_changevisibility(od->sess, od->conn, AIM_VISIBILITYCHANGE_PERMITADD, buf);
+			break;
+		default:
 			break;
 		}
 		signoff_blocked(gc);