Commit c7bce6ba authored by Link Mauve's avatar Link Mauve Committed by Link Mauve

Trim all messages by 24 bytes on 64-bit systems

Message was redefining the slots of its parent class, which allocates
them twice and we don’t want that.
parent 78b3933e
Pipeline #3525 passed with stages
in 5 minutes and 24 seconds
......@@ -44,7 +44,7 @@ class MucOwnJoinMessage(InfoMessage):
class XMLLog(BaseMessage):
"""XML Log message"""
__slots__ = ('txt', 'time', 'identifier', 'incoming')
__slots__ = ('incoming')
def __init__(
......@@ -75,7 +75,7 @@ class XMLLog(BaseMessage):
class StatusMessage(BaseMessage):
__slots__ = ('txt', 'time', 'identifier', 'format_string', 'format_args')
__slots__ = ('format_string', 'format_args')
def __init__(self, format_string: str, format_args: dict):
......@@ -94,8 +94,8 @@ class StatusMessage(BaseMessage):
class Message(BaseMessage):
__slots__ = ('txt', 'nick_color', 'time', 'nickname', 'user', 'delayed', 'history',
'identifier', 'top', 'highlight', 'me', 'old_message', 'revisions',
__slots__ = ('nick_color', 'nickname', 'user', 'delayed', 'history',
'top', 'highlight', 'me', 'old_message', 'revisions',
'jid', 'ack')
def __init__(self,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment