Comment 3 for bug 518222

Revision history for this message
Nathan Handler (nhandler) wrote :

John, since we sometimes toggle whether a channel is moderated, the ideal solution would be to check what channel modes are active on the channel (/mode #ubuntu-classroom). If the +m mode is active, the channel is moderated. Parsing the ical would work in most cases. ClassBot will set +m if there is an 'Event' field and 'Moderated' is not set to 'No', or if 'Moderated' is set to 'Yes'. However, you would occasionally run into problems if the moderated channel mode is toggled on the fly.