mirror of
https://github.com/chatmail/core.git
synced 2026-05-23 00:36:32 +03:00
python: cut text in Message representation to 100 characters
This commit is contained in:
@@ -39,7 +39,7 @@ class Message(object):
|
|||||||
return "<Message {} sys={} {} id={} sender={}/{} chat={}/{}>".format(
|
return "<Message {} sys={} {} id={} sender={}/{} chat={}/{}>".format(
|
||||||
typ,
|
typ,
|
||||||
self.is_system_message(),
|
self.is_system_message(),
|
||||||
repr(self.text[:10]),
|
repr(self.text[:100]),
|
||||||
self.id,
|
self.id,
|
||||||
c.id,
|
c.id,
|
||||||
c.addr,
|
c.addr,
|
||||||
|
|||||||
Reference in New Issue
Block a user