Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
097732c1
Commit
097732c1
authored
Oct 03, 2017
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The value param to the setParam() and setUriParam() of an Address is no optional.
parent
aafd0693
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/address/address.h
src/address/address.h
+2
-2
src/chat/client-group-chat-room.cpp
src/chat/client-group-chat-room.cpp
+1
-1
No files found.
src/address/address.h
View file @
097732c1
...
...
@@ -88,12 +88,12 @@ public:
bool
hasParam
(
const
std
::
string
&
paramName
)
const
;
const
std
::
string
&
getParamValue
(
const
std
::
string
&
paramName
)
const
;
bool
setParam
(
const
std
::
string
&
paramName
,
const
std
::
string
&
paramValue
);
bool
setParam
(
const
std
::
string
&
paramName
,
const
std
::
string
&
paramValue
=
""
);
bool
setParams
(
const
std
::
string
&
params
);
bool
hasUriParam
(
const
std
::
string
&
uriParamName
)
const
;
const
std
::
string
&
getUriParamValue
(
const
std
::
string
&
uriParamName
)
const
;
bool
setUriParam
(
const
std
::
string
&
uriParamName
,
const
std
::
string
&
uriParamValue
);
bool
setUriParam
(
const
std
::
string
&
uriParamName
,
const
std
::
string
&
uriParamValue
=
""
);
bool
setUriParams
(
const
std
::
string
&
uriParams
);
private:
...
...
src/chat/client-group-chat-room.cpp
View file @
097732c1
...
...
@@ -72,7 +72,7 @@ void ClientGroupChatRoom::addParticipants (const list<Address> &addresses, const
session
->
configure
(
LinphoneCallOutgoing
,
nullptr
,
nullptr
,
me
->
getAddress
(),
focus
->
getAddress
());
session
->
initiateOutgoing
();
Address
addr
=
me
->
getAddress
();
addr
.
setParam
(
"text"
,
""
);
addr
.
setParam
(
"text"
);
session
->
getPrivate
()
->
getOp
()
->
set_contact_address
(
addr
.
getPrivate
()
->
getInternalAddress
());
session
->
startInvite
(
nullptr
,
subject
);
d
->
setState
(
ChatRoom
::
State
::
CreationPending
);
...
...
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