plugins XEP-0060, XEP-0313: implemented Order-By protoXEP:
new "order_by" key can be used in extra data, value can be, for now, "creation" or "modification".
This commit is contained in:
parent
677eebd553
commit
3e63d54e3d
1 changed files with 44 additions and 52 deletions
|
|
@ -396,6 +396,12 @@ class Const(object):
|
|||
KEY_THUMBNAILS = u"thumbnails"
|
||||
KEY_PROGRESS_ID = u"progress_id"
|
||||
|
||||
## Common extra keys/values ##
|
||||
KEY_ORDER_BY = u"order_by"
|
||||
|
||||
ORDER_BY_CREATION = u'creation'
|
||||
ORDER_BY_MODIFICATION = u'modification'
|
||||
|
||||
# internationalisation
|
||||
DEFAULT_LOCALE = u"en_GB"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue