Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-libclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-libclient
Commits
07df9834
Commit
07df9834
authored
4 years ago
by
Pierre Lespagnol
Committed by
Sébastien Blin
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
conference: host can add or remove moderator for a conference or rendez-vous
Change-Id: If816294eb5879a60293155c79738c2729148d909
parent
5d205e49
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/api/newcallmodel.h
+8
-0
8 additions, 0 deletions
src/api/newcallmodel.h
src/newcallmodel.cpp
+6
-0
6 additions, 0 deletions
src/newcallmodel.cpp
src/qtwrapper/callmanager_wrap.h
+5
-0
5 additions, 0 deletions
src/qtwrapper/callmanager_wrap.h
with
19 additions
and
0 deletions
src/api/newcallmodel.h
+
8
−
0
View file @
07df9834
...
...
@@ -247,6 +247,14 @@ public:
*/
bool
isModerator
(
const
QString
&
confId
,
const
QString
&
uri
=
""
);
/**
* Set/unset a moderator
* @param confId The conference to change
* @param peerId Uri of the participant to change
* @param state State of the change (true set moderator / false unset moderator)
*/
void
setModerator
(
const
QString
&
confId
,
const
QString
&
peerId
,
const
bool
&
state
);
Q_SIGNALS
:
/**
* Emitted when a call state changes
...
...
This diff is collapsed.
Click to expand it.
src/newcallmodel.cpp
+
6
−
0
View file @
07df9834
...
...
@@ -768,6 +768,12 @@ NewCallModel::isModerator(const QString& confId, const QString& uri)
return
isModerator
;
}
void
NewCallModel
::
setModerator
(
const
QString
&
confId
,
const
QString
&
peerId
,
const
bool
&
state
)
{
CallManager
::
instance
().
setModerator
(
confId
,
peerId
,
state
);
}
void
NewCallModel
::
sendSipMessage
(
const
QString
&
callId
,
const
QString
&
body
)
const
{
...
...
This diff is collapsed.
Click to expand it.
src/qtwrapper/callmanager_wrap.h
+
5
−
0
View file @
07df9834
...
...
@@ -386,6 +386,11 @@ public Q_SLOTS: // METHODS
#endif
}
void
setModerator
(
const
QString
&
confId
,
const
QString
&
peerId
,
const
bool
&
state
)
{
DRing
::
setModerator
(
confId
.
toStdString
(),
peerId
.
toStdString
(),
state
);
}
Q_SIGNALS
:
// SIGNALS
void
callStateChanged
(
const
QString
&
callID
,
const
QString
&
state
,
int
code
);
void
transferFailed
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment