Add missing mid parameter in message parsing (#426)

This commit is contained in:
Kacper Ziubryniewicz
2019-05-01 19:32:04 +02:00
committed by Mads Marquart
parent f480d68b57
commit 3cd0f3a9a7

View File

@@ -2950,7 +2950,11 @@ class Client(object):
author_id=author_id, author_id=author_id,
message=delta.get("body", ""), message=delta.get("body", ""),
message_object=Message._from_pull( message_object=Message._from_pull(
delta, tags=metadata.get("tags"), author=author_id, timestamp=ts delta,
mid=mid,
tags=metadata.get("tags"),
author=author_id,
timestamp=ts,
), ),
thread_id=thread_id, thread_id=thread_id,
thread_type=thread_type, thread_type=thread_type,