diff src/memory/memory.py @ 611:d722778b152c

core: added Priority management
author Goffi <goffi@goffi.org>
date Sun, 10 Mar 2013 20:55:29 +0100
parents 84a6e83157c2
children 64db6758d223
line wrap: on
line diff
--- a/src/memory/memory.py	Sun Mar 10 20:54:45 2013 +0100
+++ b/src/memory/memory.py	Sun Mar 10 20:55:29 2013 +0100
@@ -40,6 +40,8 @@
     ### TODO: add desciption in params
 
     #TODO: move Watched in a plugin
+    #TODO: when priority is changed, a new presence stanza must be emitted
+    #TODO: int type (Priority should be int instead of string)
     default_xml = u"""
     <params>
     <general>
@@ -48,6 +50,7 @@
         <category name="Connection" label="%(category_connection)s">
             <param name="JabberID" value="name@example.org/SàT" type="string" />
             <param name="Password" value="" type="password" />
+            <param name="Priority" value="50" type="string" />
             <param name="Server" value="example.org" type="string" />
             <param name="Port" value="5222" type="string" />
             <param name="NewAccount" value="%(label_NewAccount)s" type="button" callback_id="registerNewAccount"/>