Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
8186e21b
Commit
8186e21b
authored
May 10, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(src/components/chat/ChatModel): use now linphone resend function
parent
43006b2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
ChatModel.cpp
linphone-desktop/src/components/chat/ChatModel.cpp
+2
-8
IncallFullscreenWindow.qml
...one-desktop/ui/views/App/Calls/IncallFullscreenWindow.qml
+3
-1
No files found.
linphone-desktop/src/components/chat/ChatModel.cpp
View file @
8186e21b
...
...
@@ -344,15 +344,9 @@ void ChatModel::resendMessage (int id) {
switch
(
map
[
"status"
].
toInt
())
{
case
MessageStatusFileTransferError
:
case
MessageStatusNotDelivered
:
{
// TODO: Do not duplicate me! Use a linphone core function in the future.
shared_ptr
<
linphone
::
ChatMessage
>
message
=
static_pointer_cast
<
linphone
::
ChatMessage
>
(
entry
.
second
);
shared_ptr
<
linphone
::
ChatMessage
>
message2
=
message
->
clone
();
message2
->
setListener
(
mMessageHandlers
);
mChatRoom
->
sendChatMessage
(
message2
);
removeEntry
(
id
);
insertMessageAtEnd
(
message2
);
message
->
setListener
(
mMessageHandlers
);
message
->
resend
();
break
;
}
...
...
linphone-desktop/ui/views/App/Calls/IncallFullscreenWindow.qml
View file @
8186e21b
...
...
@@ -292,8 +292,10 @@ Window {
ActionButton
{
Layout.preferredHeight
:
CallStyle
.
actionArea
.
iconSize
Layout.preferredWidth
:
CallStyle
.
actionArea
.
iconSize
icon
:
'
options
'
// TODO: display options.
icon
:
'
options
'
iconSize
:
CallStyle
.
actionArea
.
iconSize
visible
:
false
// TODO: V2
}
}
...
...
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