Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-libclient
Commits
db6ca57b
Commit
db6ca57b
authored
Oct 31, 2019
by
Sébastien Blin
Committed by
Andreas Traczyk
Nov 06, 2019
Browse files
settings: take into account allowIncoming for non trusted peers
Change-Id: I26313ee6c6e39626253cc5baf5ecd725760d99e9
parent
62e10618
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/newcallmodel.cpp
View file @
db6ca57b
...
...
@@ -654,6 +654,11 @@ NewCallModelPimpl::slotIncomingCall(const std::string& accountId, const std::str
callInfo
->
isAudioOnly
=
callDetails
[
"AUDIO_ONLY"
]
==
"true"
?
true
:
false
;
calls
.
emplace
(
callId
,
std
::
move
(
callInfo
));
if
(
!
linked
.
owner
.
confProperties
.
allowIncoming
)
{
linked
.
refuse
(
callId
);
return
;
}
emit
linked
.
newIncomingCall
(
fromId
,
callId
);
// HACK. BECAUSE THE DAEMON DOESN'T HANDLE THIS CASE!
...
...
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