Mercurial > pidgin
comparison src/protocols/jabber/jabber.c @ 9173:b6051a2d3bb5
[gaim-migrate @ 9962]
Robert T(something) noticed that we're not being a good jabber citizen, and that his server is not XMPP compliant. This fixes our end of that. Thanks Robert!
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 04 Jun 2004 00:02:25 +0000 |
parents | f65be7c97812 |
children | 933c7418fd03 |
comparison
equal
deleted
inserted
replaced
9172:640b82172493 | 9173:b6051a2d3bb5 |
---|---|
738 | 738 |
739 static void jabber_close(GaimConnection *gc) | 739 static void jabber_close(GaimConnection *gc) |
740 { | 740 { |
741 JabberStream *js = gc->proto_data; | 741 JabberStream *js = gc->proto_data; |
742 | 742 |
743 jabber_presence_send(gc, "unavailable", _("Logged out")); | |
743 jabber_send_raw(js, "</stream:stream>", -1); | 744 jabber_send_raw(js, "</stream:stream>", -1); |
744 | 745 |
745 if(js->gsc) { | 746 if(js->gsc) { |
746 gaim_ssl_close(js->gsc); | 747 gaim_ssl_close(js->gsc); |
747 } else if (js->fd > 0) { | 748 } else if (js->fd > 0) { |