title: Libpurple can't connect - purple_presence_is_online failed
body: <p>I am writing myself a small jabber client. I have used code from <a href="http://libpurple.com/writing-your-first-instant-messaging-program/">Libpurple.com</a> and on Linux (Mint) everything works fine. With libraries linked program compiles with no errors and receives messages.</p>
  
  <p>But when I use the same code on Windows 7, link all neccessary libraries and with Cygwin installed and PATH set, program compiles with no errors, but then NetBeans (IDE I use in Windows and Linux) says 'RUN FAILED'</p>
  
  <p>When I run program from windows command line it says:</p>
  
  <pre><code>libpurple initialized. Running version 2.10.7.
  ** &lt;myclient.exe:6500&gt;: CRITICAL **: purple_presence_is_online: assertion 'presence != NULL' failed
  </code></pre>
  
  <p>and then it freeze. I already tried going back to libpurple 2.10.3 (the version I have in Linux) but still the same. Turning firewall off did'n help either.</p>