Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
178
Issues
178
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poezio
poezio
Commits
bc6ee8da
Commit
bc6ee8da
authored
May 06, 2016
by
mathieui
3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #3176 (timestamp corrections properly)
parent
bea07f52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/core/handlers.py
src/core/handlers.py
+4
-1
No files found.
src/core/handlers.py
View file @
bc6ee8da
...
...
@@ -11,6 +11,7 @@ import functools
import
ssl
import
sys
import
time
from
datetime
import
datetime
from
hashlib
import
sha1
,
sha512
from
os
import
path
...
...
@@ -544,7 +545,9 @@ def on_groupchat_message(self, message):
if
replaced_id
is
not
''
and
config
.
get_by_tabname
(
'group_corrections'
,
message
[
'from'
].
bare
):
try
:
if
tab
.
modify_message
(
body
,
replaced_id
,
message
[
'id'
],
time
=
date
,
delayed_date
=
date
or
datetime
.
now
()
if
tab
.
modify_message
(
body
,
replaced_id
,
message
[
'id'
],
time
=
delayed_date
,
nickname
=
nick_from
,
user
=
user
):
self
.
events
.
trigger
(
'highlight'
,
message
,
tab
)
replaced
=
True
...
...
Link Mauve
@linkmauve
mentioned in issue
#1674 (closed)
·
Aug 21, 2018
mentioned in issue
#1674 (closed)
mentioned in issue #1674
Toggle commit list
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