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

[FIX] im_livechat: use correct url to find rules that apply

The problem was that, when calling 'match_rules()' from the loader template,
we compared the wrong url with the url regexp defined in rules. Indeed, we used
the url of the page we were leaving, not the one we were going to.

We thus need to know if we are coming from the controller, or from the loader
template directly as the way to get the correct url differs.

Courtesy of JEM
parent 0c92788d
No related branches found
No related tags found
Loading
Loading
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