DIY: Fixing the MSN connector for Empathy

I just got bitten by bug 663670: empathy doesn’t connect to msn - blocked connection.

It turns out that Microsoft made changes on the server side two days ago that crashes telepathy-butterfly, the MSN connector used by Empathy.

Fortunately, the fix is simple.

# sudo nano /usr/lib/pymodules/python2.6/papyon/service/description/SingleSignOn/RequestMultipleSecurityTokens.py

Then goto line 24 and replace

CONTACTS = (“contacts.msn.com”, “?s=1&id=24000&kv=7&rn=93S9SWWw&tw=0&ver=2.1.6000.1”)

with

CONTACTS = (“contacts.msn.com”, “MBI”)

After that, hit the “reconnect” button in Empathy and it should now connect to MSN. You don’t have to restart Empathy, even. These are the times I love scripting languages.