plugin invitations: fixed url_template check

This commit is contained in:
Goffi 2017-04-16 17:57:40 +02:00
commit b07afe6971

View file

@ -161,7 +161,7 @@ class InvitationsPlugin(object):
self.checkExtra(extra)
if not 'url_template' in extra and not 'message_body' in extra:
if not 'url_template' in kwargs and not 'message_body' in kwargs:
raise ValueError(_(u"You need to provide url_template if you use default message body"))