[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetalk-dev] Reconnect on Hangup?
From: |
Justin Forest |
Subject: |
Re: [Freetalk-dev] Reconnect on Hangup? |
Date: |
Wed, 27 Oct 2010 11:31:36 +0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
> Hi Justin, I think it makes sense to implement auto-reconnect
> properly at the C socket code level.
I decided to maintain the flexibility and added a new hook:
"ft-disconnected-hook". I'm attaching the patch. I'm using it with
the following code in ~/.freetalk/freetalk.scm:
(add-hook! ft-disconnected-hook (lambda (reason) (
connect-handle (ft-connect)
)))
--
Justin Forest
http://umonkey.net/
ft-disconnected-hook.patch
Description: Text Data