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
e7eb5d6a
Commit
e7eb5d6a
authored
Jun 08, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(src/components/notifier/Notifier): hide xml in notification for file message
parent
065ced1f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
en.ts
linphone-desktop/assets/languages/en.ts
+4
-0
fr.ts
linphone-desktop/assets/languages/fr.ts
+4
-0
Notifier.cpp
linphone-desktop/src/components/notifier/Notifier.cpp
+4
-1
No files found.
linphone-desktop/assets/languages/en.ts
View file @
e7eb5d6a
...
...
@@ -924,6 +924,10 @@ your friend's SIP address or username.</translation>
<
source
>
newVersionAvailable
<
/source
>
<
translation
>
A
new
version
(
%
1
)
of
Linphone
is
available
!<
/translation
>
<
/message
>
<
message
>
<
source
>
newFileMessage
<
/source
>
<
translation
>
New
received
attachment
!<
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
OutgoingMessage
<
/name
>
...
...
linphone-desktop/assets/languages/fr.ts
View file @
e7eb5d6a
...
...
@@ -923,6 +923,10 @@ un chat ou ajouter un contact.</translation>
<
source
>
newVersionAvailable
<
/source
>
<
translation
>
Une
nouvelle
version
(
%
1
)
de
Linphone
est
disponible
!<
/translation
>
<
/message
>
<
message
>
<
source
>
newFileMessage
<
/source
>
<
translation
>
Pi
è
ce
jointe
re
ç
ue
!<
/translation
>
<
/message
>
<
/context
>
<
context
>
<
name
>
OutgoingMessage
<
/name
>
...
...
linphone-desktop/src/components/notifier/Notifier.cpp
View file @
e7eb5d6a
...
...
@@ -231,7 +231,10 @@ void Notifier::notifyReceivedMessage (const shared_ptr<linphone::ChatMessage> &m
return
;
QVariantMap
map
;
map
[
"message"
]
=
::
Utils
::
coreStringToAppString
(
message
->
getText
());
map
[
"message"
]
=
message
->
getFileTransferInformation
()
?
tr
(
"newFileMessage"
)
:
::
Utils
::
coreStringToAppString
(
message
->
getText
());
map
[
"sipAddress"
]
=
::
Utils
::
coreStringToAppString
(
message
->
getFromAddress
()
->
asStringUriOnly
());
map
[
"window"
].
setValue
(
App
::
getInstance
()
->
getMainWindow
());
...
...
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