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
21e67f57
Commit
21e67f57
authored
May 20, 2022
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added property to return BlinkMessage from Outgoing messge
parent
9f353cdd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
messages.py
blink/messages.py
+5
-1
No files found.
blink/messages.py
View file @
21e67f57
...
@@ -19,7 +19,7 @@ from blink.sessions import SessionManager, StreamDescription
...
@@ -19,7 +19,7 @@ from blink.sessions import SessionManager, StreamDescription
from
blink.util
import
run_in_gui_thread
from
blink.util
import
run_in_gui_thread
__all__
=
[
'MessageManager'
]
__all__
=
[
'MessageManager'
,
'BlinkMessage'
]
class
BlinkMessage
(
MSRPChatMessage
):
class
BlinkMessage
(
MSRPChatMessage
):
...
@@ -44,6 +44,10 @@ class OutgoingMessage(object):
...
@@ -44,6 +44,10 @@ class OutgoingMessage(object):
self
.
timestamp
=
timestamp
self
.
timestamp
=
timestamp
self
.
sip_uri
=
None
self
.
sip_uri
=
None
@
property
def
message
(
self
):
return
BlinkMessage
(
self
.
content
,
self
.
content_type
,
self
.
account
,
timestamp
=
self
.
timestamp
,
id
=
self
.
id
)
def
_lookup
(
self
):
def
_lookup
(
self
):
settings
=
SIPSimpleSettings
()
settings
=
SIPSimpleSettings
()
self
.
sip_uri
=
SIPURI
.
parse
(
'sip:
%
s'
%
self
.
uri
)
self
.
sip_uri
=
SIPURI
.
parse
(
'sip:
%
s'
%
self
.
uri
)
...
...
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