Index: openacs-4/packages/chat/sql/postgresql/chat-drop.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/chat/sql/postgresql/chat-drop.sql,v
diff -u -r1.5 -r1.5.2.1
--- openacs-4/packages/chat/sql/postgresql/chat-drop.sql	7 Aug 2017 23:48:07 -0000	1.5
+++ openacs-4/packages/chat/sql/postgresql/chat-drop.sql	26 Feb 2019 18:06:43 -0000	1.5.2.1
@@ -91,6 +91,7 @@
  PERFORM acs_privilege__remove_child('chat_room_admin', 'chat_moderator_grant');
  PERFORM acs_privilege__remove_child('chat_room_admin', 'chat_moderator_revoke');
  PERFORM acs_privilege__remove_child('chat_room_admin', 'chat_moderator');
+ PERFORM acs_privilege__remove_child('chat_room_admin', 'chat_avatar_allow');
 
  -- remove Site wite admin also administrator of the chat room
  PERFORM acs_privilege__remove_child('admin', 'chat_room_admin');
@@ -118,6 +119,7 @@
  PERFORM acs_privilege__drop_privilege('chat_room_admin');
  PERFORM acs_privilege__drop_privilege('chat_moderator');
  PERFORM acs_privilege__drop_privilege('chat_user');
+ PERFORM acs_privilege__drop_privilege('chat_avatar_allow');
 
 
   return 0;
