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-daemon
Commits
998078c9
Commit
998078c9
authored
Oct 04, 2005
by
yanmorin
Browse files
Remove the call name restriction
parent
506d1eae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gui/server/request.h
View file @
998078c9
...
...
@@ -69,9 +69,7 @@ public:
_account
=
*
iter
;
_argList
.
pop_front
();
iter
=
_argList
.
begin
();
// a call method can only begin by 'c' since it's only the client that
// call with method
if
(
iter
!=
_argList
.
end
()
&&
(
*
iter
)[
0
]
==
'c'
)
{
if
(
iter
!=
_argList
.
end
())
{
_callId
=
*
iter
;
iter
++
;
// last arg is the destination
...
...
@@ -100,7 +98,7 @@ public:
RequestGlobalCall
(
const
std
::
string
&
sequenceId
,
const
TokenList
&
argList
)
:
Request
(
sequenceId
,
argList
)
{
TokenList
::
iterator
iter
=
_argList
.
begin
();
if
(
iter
!=
_argList
.
end
()
&&
((
*
iter
)[
0
]
==
'c'
||
(
*
iter
)[
0
]
==
's'
)
)
{
if
(
iter
!=
_argList
.
end
()
&&
iter
->
length
()
!=
0
)
{
_callId
=
*
iter
;
_argList
.
pop_front
();
}
else
{
...
...
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