From 82f4267bf6c6d7038df37871659aac19793c3fda Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 31 May 2021 17:57:32 -0300 Subject: [PATCH] add comment property/setter to the signable support class --- lbry/schema/support.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lbry/schema/support.py b/lbry/schema/support.py index 4e5e1ba6e..9a9bb599d 100644 --- a/lbry/schema/support.py +++ b/lbry/schema/support.py @@ -13,3 +13,11 @@ class Support(Signable): @emoji.setter def emoji(self, emoji: str): self.message.emoji = emoji + + @property + def comment(self) -> str: + return self.message.comment + + @comment.setter + def comment(self, comment: str): + self.message.comment = comment