deps creation - improvements. db and history fixes. widgets creation - factory
This commit is contained in:
parent
a9d2d3d809
commit
e9272eee2a
18 changed files with 419 additions and 319 deletions
|
@ -1,4 +1,4 @@
|
|||
from history.database import MESSAGE_OWNER
|
||||
from history.database import MESSAGE_AUTHOR
|
||||
|
||||
|
||||
MESSAGE_TYPE = {
|
||||
|
@ -9,6 +9,8 @@ MESSAGE_TYPE = {
|
|||
'INFO_MESSAGE': 4
|
||||
}
|
||||
|
||||
PAGE_SIZE = 42
|
||||
|
||||
|
||||
class MessageAuthor:
|
||||
|
||||
|
@ -53,7 +55,7 @@ class Message:
|
|||
self._widget = None
|
||||
|
||||
def mark_as_sent(self):
|
||||
self._author.author_type = MESSAGE_OWNER['ME']
|
||||
self._author.author_type = MESSAGE_AUTHOR['ME']
|
||||
|
||||
def _create_widget(self):
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue