summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-23 11:34:50 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-23 11:34:50 +0200
commite4d9baa9544fc48ac9bda2e4e1931fe59191c97f (patch)
tree81327e996d85296e46b1e672e21768970dc77d10
parentbc102bffe68b62742cea21940b5ef00b20ea00a6 (diff)
downloadpoezio-e4d9baa9544fc48ac9bda2e4e1931fe59191c97f.tar.gz
poezio-e4d9baa9544fc48ac9bda2e4e1931fe59191c97f.tar.bz2
poezio-e4d9baa9544fc48ac9bda2e4e1931fe59191c97f.tar.xz
poezio-e4d9baa9544fc48ac9bda2e4e1931fe59191c97f.zip
text_buffer: Fix Message not being defined from inside Message’s definition.
-rw-r--r--poezio/text_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/text_buffer.py b/poezio/text_buffer.py
index c6964140..4ea7b788 100644
--- a/poezio/text_buffer.py
+++ b/poezio/text_buffer.py
@@ -33,7 +33,7 @@ class Message:
identifier: Optional[str],
str_time: Optional[str] = None,
highlight: bool = False,
- old_message: Optional[Message] = None,
+ old_message: Optional['Message'] = None,
revisions: int = 0,
jid: Optional[str] = None,
ack: int = 0) -> None: