diff --git a/webwhatsapi/objects/message.py b/webwhatsapi/objects/message.py index e7a72927..992fbd74 100755 --- a/webwhatsapi/objects/message.py +++ b/webwhatsapi/objects/message.py @@ -64,6 +64,10 @@ def __init__(self, js_obj, driver=None): elif self.type == "revoked": self.content = "" self.safe_content = "..." + else: + # type "revoked" is not overriden for legacy reason + self.content = "" + self.safe_content = "..." def __repr__(self): return "".format(