From 4ba918e3a1d8e53a6e8d899e92331148b16c2907 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 16 Dec 2009 16:30:23 -0500 Subject: [PATCH] Map libpurple PURPLE_STATUS_UNAVAILABLE to XMPP "Do Not Disturb" for ICQ. --- perl/lib/Thrasher/Protocol/Purple/Vars.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl/lib/Thrasher/Protocol/Purple/Vars.pm b/perl/lib/Thrasher/Protocol/Purple/Vars.pm index 8ead86b..e6e9088 100644 --- a/perl/lib/Thrasher/Protocol/Purple/Vars.pm +++ b/perl/lib/Thrasher/Protocol/Purple/Vars.pm @@ -118,6 +118,7 @@ our %purple_presence = ( our %purple_presence_to_xmpp = ( $PURPLE_STATUS_OFFLINE => [ 'unavailable', '', ], $PURPLE_STATUS_AVAILABLE => [ '', '', ], + $PURPLE_STATUS_UNAVAILABLE => [ '', 'dnd' ], $PURPLE_STATUS_INVISIBLE => [ 'unavailable', '', ], $PURPLE_STATUS_AWAY => [ '', 'away', ], $PURPLE_STATUS_EXTENDED_AWAY => [ '', 'xa', ], -- 2.11.4.GIT