VC/Vidyo: Move default room name to core

This commit is contained in:
Pedro Ferreira 2015-02-26 18:13:36 +01:00 committed by Adrian Moennich
parent 2c21ab70a1
commit f663fc428e

View File

@ -15,7 +15,6 @@
# along with Indico; if not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
import re
from flask import session
from sqlalchemy.orm.attributes import flag_modified
@ -285,7 +284,6 @@ class VidyoPlugin(VCPluginMixin, IndicoPlugin):
defaults = super(VidyoPlugin, self).get_vc_room_form_defaults(event)
defaults.update({
# replace invalid chars with underscore
'name': re.sub(r'[^\w_-]', '_', event.getTitle()),
'auto_mute': True,
'show_pin': False,
'show_autojoin': True,