(riece-mixi-message-filter): Rename from
authorbg66 <bg66>
Thu, 21 Aug 2008 02:19:02 +0000 (02:19 +0000)
committerbg66 <bg66>
Thu, 21 Aug 2008 02:19:02 +0000 (02:19 +0000)
`riece-mixi-message-filter-function' and return `message'.
(riece-mixi-insinuate): Follow the change above.
(riece-mixi-uninstall): Ditto.

ChangeLog
riece-mixi.el

index 0328558..609ea58 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-08-21  OHASHI Akira  <bg66@koka-in.org>
+
+       * riece-mixi.el (riece-mixi-message-filter): Rename from
+       `riece-mixi-message-filter-function' and return `message'.
+       (riece-mixi-insinuate): Follow the change above.
+       (riece-mixi-uninstall): Ditto.
+
 2008-08-20  OHASHI Akira  <bg66@koka-in.org>
 
        * riece-mixi.el (riece-mixi-message-filter-function): New function.
index 6c4ae4e..865e1e7 100644 (file)
@@ -139,23 +139,24 @@ If they exist, send them as notice to the corresponding channel."
          riece-mixi-check-alist)
     (setq riece-mixi-last-check (current-time))))
 
-(defun riece-mixi-message-filter-function (message)
+(defun riece-mixi-message-filter (message)
   (when (and (get 'riece-mixi 'riece-addon-enabled)
             (riece-message-own-p message)
             (eq 'action (riece-message-type message)))
-    (mixi-post-echo (riece-message-text message))))
+    (mixi-post-echo (riece-message-text message)))
+  message)
 
 (defun riece-mixi-insinuate ()
   (add-hook 'riece-after-display-message-functions
            'riece-mixi-display-message-function)
   (add-hook 'riece-message-filter-functions
-           'riece-mixi-message-filter-function))
+           'riece-mixi-message-filter))
 
 (defun riece-mixi-uninstall ()
   (remove-hook 'riece-after-display-message-functions
               'riece-mixi-display-message-function)
   (remove-hook 'riece-message-filter-functions
-              'riece-mixi-message-filter-function))
+              'riece-mixi-message-filter))
 
 (defun riece-mixi-enable ()
   (when riece-mixi-check-alist