Mercurial > pidgin.yaz
changeset 24519:821afc095104
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.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sun, 30 Nov 2008 18:34:42 +0000 |
parents | 35037aa8c9c5 |
children | 1a579e1cdc58 b4a2ce33b3d5 c974d4453f12 |
files | libpurple/purple-remote |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)