This commit is contained in:
git-bruh 2021-01-24 11:29:49 +05:30
parent 83ce183d18
commit fa97d4fc97
No known key found for this signature in database
GPG key ID: E1475C50075ADCE6

View file

@ -139,7 +139,7 @@ class MatrixClient(nio.AsyncClient):
if emote_: if emote_:
emote = f":{emote}:" emote = f":{emote}:"
body = body.replace( body = body.replace(
emote, f"""<img alt=\"{emote}\" title=\"{emote}\" emote, f"""<img alt=\"{emote}\" title=\"{emote}\" \
height=\"32\" src=\"{emote_}\" data-mx-emoticon />""" height=\"32\" src=\"{emote_}\" data-mx-emoticon />"""
) )