Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
348113c8
Commit
348113c8
authored
Aug 29, 2022
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added direction attribute to BlinkMessage
parent
b51e7fdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
messages.py
blink/messages.py
+3
-2
No files found.
blink/messages.py
View file @
348113c8
...
...
@@ -303,13 +303,14 @@ del ui_class, base_class
class
BlinkMessage
(
MSRPChatMessage
):
__slots__
=
'id'
,
'disposition'
,
'is_secure'
__slots__
=
'id'
,
'disposition'
,
'is_secure'
,
'direction'
def
__init__
(
self
,
content
,
content_type
,
sender
=
None
,
recipients
=
None
,
courtesy_recipients
=
None
,
subject
=
None
,
timestamp
=
None
,
required
=
None
,
additional_headers
=
None
,
id
=
None
,
disposition
=
None
,
is_secure
=
False
):
def
__init__
(
self
,
content
,
content_type
,
sender
=
None
,
recipients
=
None
,
courtesy_recipients
=
None
,
subject
=
None
,
timestamp
=
None
,
required
=
None
,
additional_headers
=
None
,
id
=
None
,
disposition
=
None
,
is_secure
=
False
,
direction
=
None
):
super
(
BlinkMessage
,
self
)
.
__init__
(
content
,
content_type
,
sender
,
recipients
,
courtesy_recipients
,
subject
,
timestamp
,
required
,
additional_headers
)
self
.
id
=
id
if
id
is
not
None
else
str
(
uuid
.
uuid4
())
self
.
disposition
=
disposition
self
.
is_secure
=
is_secure
self
.
direction
=
direction
@
implementer
(
IObserver
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment