Gajim doesn't fully support offline status messages
There are three ways of receiving status messages of offline contacts. First of all is when one's online and their friend turns offline. Then the friend sends all his contacts presence offline with proper status message. It works.
The second way is used by wpjabber platform (jabber.wp.pl works on it), and is described by the following paper: http://www.xmpp.org/rfcs/rfc3921.html#rfc.section.5.1.3 point 188.8.131.52(1). This works with Gajim properly, too.
But the last way (that is used by ejabberd) is described in XEP-0012: http://www.xmpp.org/extensions/xep-0012.html#offline and Gajim doesn't support this.
This behaviour causes that when I'm online I recieve offline st. message properly, but after Gajim restart I don't see it anymore. I can enter the XML console and paste there:
\<iq type="get" to="_JID0_" id="af2da" > \<query xmlns="jabber:iq:last"/> \</iq>
and recieve sth like that:
\<iq from='_JID0_' to='_MY_JID_/_MY_RESOURCE_' id='af2da' type='result'> \<query xmlns='jabber:iq:last' seconds='499865'>_STATUS_MESSAGE_OF_JID0_\</query> \</iq>
The problem is Gajim doesn't send such requests at its start. And it should to make users able to see offline status messages of contacts using ejabberd without entering XML console (which is not very nice).
It should be easy to implement, just to send these requests at each reconnection.