pidgin: d3440d67: Patch from 'jfd' (whose trac user accoun...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sun Nov 30 13:40:23 EST 2008


-----------------------------------------------------------------
Revision: d3440d677dd69ed30a8158b515bd26d210dacb9d
Ancestor: 036649b8459887392f4ed05cd1adb28ece1afcb8
Author: rekkanoryo at pidgin.im
Date: 2008-11-30T18:34:42
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d3440d677dd69ed30a8158b515bd26d210dacb9d

Modified files:
        libpurple/purple-remote

ChangeLog: 

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.

-------------- next part --------------
============================================================
--- libpurple/purple-remote	ed0d125fb0a2e3cea6d6e2f91e21235668fbf65e
+++ libpurple/purple-remote	4f98982e9b46c31b654777d8fb71083e70f8330e
@@ -172,6 +172,10 @@ def execute(uri):
         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)


More information about the Commits mailing list