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
3ac0cb89
Commit
3ac0cb89
authored
May 20, 2022
by
Tijmen de Mes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set SIP URI earlier
parent
2428e5c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
messages.py
blink/messages.py
+2
-3
No files found.
blink/messages.py
View file @
3ac0cb89
...
@@ -41,8 +41,8 @@ class OutgoingMessage(object):
...
@@ -41,8 +41,8 @@ class OutgoingMessage(object):
self
.
content_type
=
content_type
self
.
content_type
=
content_type
self
.
content
=
content
self
.
content
=
content
self
.
id
=
id
if
id
is
not
None
else
str
(
uuid
.
uuid4
())
self
.
id
=
id
if
id
is
not
None
else
str
(
uuid
.
uuid4
())
self
.
timestamp
=
timestamp
self
.
timestamp
=
timestamp
if
timestamp
is
not
None
else
ISOTimestamp
.
now
()
self
.
sip_uri
=
None
self
.
sip_uri
=
SIPURI
.
parse
(
'sip:
%
s'
%
self
.
uri
)
@
property
@
property
def
message
(
self
):
def
message
(
self
):
...
@@ -50,7 +50,6 @@ class OutgoingMessage(object):
...
@@ -50,7 +50,6 @@ class OutgoingMessage(object):
def
_lookup
(
self
):
def
_lookup
(
self
):
settings
=
SIPSimpleSettings
()
settings
=
SIPSimpleSettings
()
self
.
sip_uri
=
SIPURI
.
parse
(
'sip:
%
s'
%
self
.
uri
)
if
isinstance
(
self
.
account
,
Account
):
if
isinstance
(
self
.
account
,
Account
):
if
self
.
account
.
sip
.
outbound_proxy
is
not
None
:
if
self
.
account
.
sip
.
outbound_proxy
is
not
None
:
proxy
=
self
.
account
.
sip
.
outbound_proxy
proxy
=
self
.
account
.
sip
.
outbound_proxy
...
...
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