[Request] Switch automatically to basic theme when accessing messages: Allows messaging
When the basic theme is activated in Tinfoil, it is possible to use the messaging without installing the facebook messenger. But for all other tasks like browsing the timeline it is quite ugly. So it would be a great feature if Tinfoil would switch automatically to the basic site when the user goes to the messaging section and back to the mobile site (or whatever the user has chosen) when the message section is left.
This is one solution. Another solution is to modify the user-agent string -- explicitly requesting m.facebook.com while claiming to be desktop Chrome (or FirefoxOS, but not mobile or desktop Firefox) works.
Also a good solution and looks better than the basic theme.
I just put in pull request #99, which implements the user-agent solution.