Sun, 30 Nov 2008 18:34:42 +0000
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.
| libpurple/purple-remote | file | annotate | diff | comparison | revisions |
--- 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)