Merge tag 'fix_defaultprocessor_display_amount' into develop
This commit is contained in:
@@ -10,13 +10,9 @@ class LiveChatPaidMessageRenderer(BaseRenderer):
|
|||||||
|
|
||||||
def get_snippet(self):
|
def get_snippet(self):
|
||||||
super().get_snippet()
|
super().get_snippet()
|
||||||
|
|
||||||
self.author.name = self.renderer["authorName"]["simpleText"]
|
|
||||||
|
|
||||||
amountDisplayString, symbol, amount =(
|
amountDisplayString, symbol, amount =(
|
||||||
self.get_amountdata(self.renderer)
|
self.get_amountdata(self.renderer)
|
||||||
)
|
)
|
||||||
self.message = self.get_message(self.renderer)
|
|
||||||
self.amountValue= amount
|
self.amountValue= amount
|
||||||
self.amountString = amountDisplayString
|
self.amountString = amountDisplayString
|
||||||
self.currency= currency.symbols[symbol]["fxtext"] if currency.symbols.get(symbol) else symbol
|
self.currency= currency.symbols[symbol]["fxtext"] if currency.symbols.get(symbol) else symbol
|
||||||
|
|||||||
@@ -10,13 +10,9 @@ class LiveChatPaidStickerRenderer(BaseRenderer):
|
|||||||
|
|
||||||
def get_snippet(self):
|
def get_snippet(self):
|
||||||
super().get_snippet()
|
super().get_snippet()
|
||||||
|
|
||||||
self.author.name = self.renderer["authorName"]["simpleText"]
|
|
||||||
|
|
||||||
amountDisplayString, symbol, amount =(
|
amountDisplayString, symbol, amount =(
|
||||||
self.get_amountdata(self.renderer)
|
self.get_amountdata(self.renderer)
|
||||||
)
|
)
|
||||||
self.message = ""
|
|
||||||
self.amountValue = amount
|
self.amountValue = amount
|
||||||
self.amountString = amountDisplayString
|
self.amountString = amountDisplayString
|
||||||
self.currency = currency.symbols[symbol]["fxtext"] if currency.symbols.get(symbol) else symbol
|
self.currency = currency.symbols[symbol]["fxtext"] if currency.symbols.get(symbol) else symbol
|
||||||
|
|||||||
Reference in New Issue
Block a user