Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
savoirfairelinux
jami-daemon
Commits
79ea4b41
Commit
79ea4b41
authored
Sep 02, 2020
by
Adrien Béraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jamiaccount: check peer connector
Change-Id: Icfd0fba1cd1b74b58a987510e592aeb4a2565c9d
parent
650900b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/jamidht/jamiaccount.cpp
src/jamidht/jamiaccount.cpp
+6
-1
No files found.
src/jamidht/jamiaccount.cpp
View file @
79ea4b41
...
...
@@ -3353,6 +3353,10 @@ JamiAccount::requestPeerConnection(
channeledConnectedCb
,
const
std
::
function
<
void
()
>&
onChanneledCancelled
)
{
if
(
not
dhtPeerConnector_
)
{
runOnMainThread
([
onChanneledCancelled
]{
onChanneledCancelled
();
});
return
;
}
dhtPeerConnector_
->
requestConnection
(
peer_id
,
tid
,
isVCard
,
...
...
@@ -3364,7 +3368,8 @@ JamiAccount::requestPeerConnection(
void
JamiAccount
::
closePeerConnection
(
const
std
::
string
&
peer
,
const
DRing
::
DataTransferId
&
tid
)
{
dhtPeerConnector_
->
closeConnection
(
peer
,
tid
);
if
(
dhtPeerConnector_
)
dhtPeerConnector_
->
closeConnection
(
peer
,
tid
);
}
void
...
...
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