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
662e7260
Commit
662e7260
authored
Oct 23, 2019
by
Kateryna Kostiuk
Browse files
cleanup: conversations for conference
Change-Id: Iea6d39916b46158f4438a95e6de5350b00e0a0f0
parent
1692b804
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/api/conversationmodel.h
View file @
662e7260
...
...
@@ -107,7 +107,7 @@ public:
* @param search name filter
* @return filtered conversations
*/
std
::
map
<
ConferenceableItem
,
ConferenceableValue
>
getConferenceableConversations
(
std
::
string
convId
,
std
::
string
filter
=
{})
const
;
std
::
map
<
ConferenceableItem
,
ConferenceableValue
>
getConferenceableConversations
(
const
std
::
string
&
convId
,
const
std
::
string
&
filter
=
{})
const
;
/**
* Get a custom filtered set of conversations
* @return conversations filtered
...
...
src/conversationmodel.cpp
View file @
662e7260
...
...
@@ -362,7 +362,7 @@ ConversationModel::allFilteredConversations() const
}
std
::
map
<
ConferenceableItem
,
ConferenceableValue
>
ConversationModel
::
getConferenceableConversations
(
std
::
string
convId
,
std
::
string
filter
)
const
ConversationModel
::
getConferenceableConversations
(
const
std
::
string
&
convId
,
const
std
::
string
&
filter
)
const
{
auto
conversationIdx
=
pimpl_
->
indexOf
(
convId
);
if
(
conversationIdx
==
-
1
||
!
owner
.
enabled
)
{
...
...
Write
Preview
Supports
Markdown
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