plugin XEP-0277, tools/common/data_objects: language handling

This commit is contained in:
Goffi 2017-06-22 09:13:28 +02:00
commit 9ae18d4d28
2 changed files with 14 additions and 0 deletions

View file

@ -51,6 +51,10 @@ class BlogItem(object):
def updated(self):
return self.mb_data.get(u'updated')
@property
def language(self):
return self.mb_data.get(u'language')
@property
def author(self):
return self.mb_data.get(u'author')