Skip to content
Snippets Groups Projects
Commit d2574b70 authored by Aaron Bohy's avatar Aaron Bohy
Browse files

[FIX] im_livechat: match_rules: backward-compatibility

Add a dummy 'match_rules()' function for backward-compatibility of commit
d8605b79, as 'match_rules()' was called from  server-side 'im_livechat.loader'
template.
parent 8521ac6c
No related branches found
No related tags found
No related merge requests found
......@@ -200,6 +200,10 @@ class ImLivechatChannel(models.Model):
info['options']["default_username"] = username
return info
# FIXME: to remove in master
@api.model
def match_rules(self, request, channel_id, username='Visitor'):
pass
class ImLivechatChannelRule(models.Model):
""" Channel Rules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment