catch ghost writes

This commit is contained in:
psyc://psyced.org/~lynX 2009-02-28 19:58:39 +01:00
parent 50c6529a85
commit 2dd7ef3178
2 changed files with 11 additions and 0 deletions

View File

@ -6,6 +6,9 @@ Essentially: whenever you fix something, move that line to the end of file.
________________________________________________________________________ ________________________________________________________________________
== currently being inspected =========================================== == currently being inspected ===========================================
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
- when a jabber clients disconnects and reconnects quickly, before the sane
quit delay has operated, it will not be given other people's presence again.
? marenz says, remote topic isn't working ? marenz says, remote topic isn't working
http://about.psyc.eu/?title=Talk:Bug_Report&curid=1506&diff=10174&oldid=10173 http://about.psyc.eu/?title=Talk:Bug_Report&curid=1506&diff=10174&oldid=10173

View File

@ -1215,6 +1215,10 @@ w(string mc, string data, mapping vars, mixed source) {
// suppresses the jabber:iq:auth reply in the SASL case // suppresses the jabber:iq:auth reply in the SASL case
unless (stringp(tag)) return; unless (stringp(tag)) return;
break; break;
case "_notice_session_end":
// jabber clients do not want to know
// (they already closed the connection when we get here)
return;
case "_error_status_place_matches": case "_error_status_place_matches":
PT(("still _error_status_place_matches?\n")) PT(("still _error_status_place_matches?\n"))
return; return;
@ -1280,5 +1284,9 @@ w(string mc, string data, mapping vars, mixed source) {
if (vars["_list_groups"]) if (vars["_list_groups"])
vars["_list_groups"] = IMPLODE_XML(vars["_list_groups"], "<group>"); vars["_list_groups"] = IMPLODE_XML(vars["_list_groups"], "<group>");
unless (interactive(ME)) {
P1(("%O not interactive. w(%O) from %O.\n", ME, mc, source))
return;
}
return render(mc, data, vars, source); return render(mc, data, vars, source);
} }