mcabber/src/hooks.c
changeset 116 1e7e59775f12
parent 115 33bff2c57293
child 118 1e8f646e2c5b
--- a/mcabber/src/hooks.c	Sun Apr 24 20:50:16 2005 +0000
+++ b/mcabber/src/hooks.c	Mon Apr 25 15:26:17 2005 +0000
@@ -51,3 +51,18 @@
   hlog_write_status(jid, 0, status);
 }
 
+// XXX Maybe we should get the old status as a parameter and request the
+// current status to jabglue?  Or get both statuses?
+inline void hk_mystatuschange(time_t timestamp,
+        enum imstatus old_status, enum imstatus new_status)
+{
+  if (old_status == new_status)
+    return;
+
+  scr_LogPrint("Your status has changed: [%c>%c]",
+          imstatus2char[old_status], imstatus2char[new_status]);
+  //roster_setstatus(jid, status);
+  //hlog_write_status(NULL, 0, status);
+
+}
+