diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2020-01-25 02:24:46 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-05-09 19:46:17 +0200 |
commit | 961f6c175578bc4f478ff9a217cd1125bdc8bd09 (patch) | |
tree | fa27ab017fc0e4f4ab98ca37d5e814dcdd07dc5b /poezio/core/handlers.py | |
parent | cf026cf1b1786a69db05408e9a18627dd3d533c3 (diff) | |
download | poezio-961f6c175578bc4f478ff9a217cd1125bdc8bd09.tar.gz poezio-961f6c175578bc4f478ff9a217cd1125bdc8bd09.tar.bz2 poezio-961f6c175578bc4f478ff9a217cd1125bdc8bd09.tar.xz poezio-961f6c175578bc4f478ff9a217cd1125bdc8bd09.zip |
Fix highlights by introducing a delayed property on ui.types.Message
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r-- | poezio/core/handlers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index cf04d582..aa392d40 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -766,6 +766,7 @@ class HandlerCore: replaced_id, message['id'], time=delayed_date, + delayed=delayed, nickname=nick_from, user=user): self.core.events.trigger('highlight', message, tab) @@ -777,7 +778,7 @@ class HandlerCore: txt=body, time=date, nickname=nick_from, - history=delayed, + delayed=delayed, identifier=message['id'], jid=message['from'], user=user, |