diff options
Diffstat (limited to 'chat/ejabberd/patches/patch-ab')
-rw-r--r-- | chat/ejabberd/patches/patch-ab | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/chat/ejabberd/patches/patch-ab b/chat/ejabberd/patches/patch-ab deleted file mode 100644 index 5f48ed139ff..00000000000 --- a/chat/ejabberd/patches/patch-ab +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-ab,v 1.1.1.1 2008/03/10 08:58:32 martti Exp $ - -What is this for? - ---- src/mod_last.erl.orig 2008-01-16 12:33:27.000000000 +0200 -+++ src/mod_last.erl 2008-02-11 13:46:13.000000000 +0200 -@@ -133,7 +133,16 @@ - sub_el = [{xmlelement, "query", - [{"xmlns", ?NS_LAST}, - {"seconds", integer_to_list(Sec)}], -- [{xmlcdata, Status}]}]} -+ [{xmlcdata, Status}]}]}; -+ [{last_activity, _, TimeStamp}] -> -+ {MegaSecs, Secs, _MicroSecs} = now(), -+ TimeStamp2 = MegaSecs * 1000000 + Secs, -+ Sec = TimeStamp2 - TimeStamp, -+ IQ#iq{type = result, -+ sub_el = [{xmlelement, "query", -+ [{"xmlns", ?NS_LAST}, -+ {"seconds", integer_to_list(Sec)}], -+ []}]} - end. - - |