Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sophie Herold
gajim
Commits
a9a115d3
Commit
a9a115d3
authored
Sep 02, 2018
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix highlight on messages without time
parent
b8444fec
Pipeline
#2161
passed with stages
in 2 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gajim/groupchat_control.py
gajim/groupchat_control.py
+1
-1
No files found.
gajim/groupchat_control.py
View file @
a9a115d3
...
...
@@ -1438,7 +1438,7 @@ class GroupchatControl(ChatControlBase):
sound
=
'received'
# Is it a history message? Don't want sound-floods when we join.
if
time
.
mktime
(
time
.
localtime
())
-
tim
>
1
:
if
tim
is
not
None
and
time
.
mktime
(
time
.
localtime
())
-
tim
>
1
:
sound
=
None
return
(
highlight
,
sound
)
...
...
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