# HG changeset patch # User John Bailey # Date 1228070082 0 # Node ID 821afc095104ec89725f5b36a619b9d251422a46 # Parent 35037aa8c9c51592f08e2bbe3b7c59924bbfea92 Patch from 'jfd' (whose trac user account no longer exists) to implement a purple-remote command to get the status message. I changed the command to "getstatusmessage" since that made more sense than "getmessage". Fixes #5598. diff -r 35037aa8c9c5 -r 821afc095104 libpurple/purple-remote --- a/libpurple/purple-remote Sun Nov 30 03:47:30 2008 +0000 +++ b/libpurple/purple-remote Sun Nov 30 18:34:42 2008 +0000 @@ -172,6 +172,10 @@ status_id = purple.PurplePrimitiveGetIdFromType(status_type) return status_id + elif command == "getstatusmessage": + current = purple.PurpleSavedstatusGetCurrent() + return purple.PurpleSavedstatusGetMessage(current) + elif command == "getinfo": account = findaccount(accountname, protocol) connection = cpurple.PurpleAccountGetConnection(account)