Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jabglue.c @ 1493:1ae5fb9b04ca
Fix JID case issue with OTR (franky)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 29 Apr 2008 19:16:26 +0200 |
parents | 7b36b91a4388 |
children | 35020a2ed115 |
comparison
equal
deleted
inserted
replaced
1492:563ba5a861ae | 1493:1ae5fb9b04ca |
---|---|
1790 #endif | 1790 #endif |
1791 | 1791 |
1792 #ifdef HAVE_LIBOTR | 1792 #ifdef HAVE_LIBOTR |
1793 if (otr_enabled()) { | 1793 if (otr_enabled()) { |
1794 decrypted_otr = (char*)body; | 1794 decrypted_otr = (char*)body; |
1795 mc_strtolower(bjid); | |
1795 otr_msg = otr_receive(&decrypted_otr, bjid, &free_msg); | 1796 otr_msg = otr_receive(&decrypted_otr, bjid, &free_msg); |
1796 if (!decrypted_otr) { | 1797 if (!decrypted_otr) { |
1797 goto gotmessage_return; | 1798 goto gotmessage_return; |
1798 } | 1799 } |
1799 body = decrypted_otr; | 1800 body = decrypted_otr; |