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:
Goffi 2019-01-06 17:36:51 +01:00
commit 3e63d54e3d

View file

@ -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"