fix: remove spaces from sticker hashes
Looks like this may have ended up in the codebase unintentionally.
This commit is contained in:
parent
8e2acbe009
commit
19e801bba8
|
@ -198,7 +198,6 @@ proc toMessage*(jsonMsg: JsonNode): Message =
|
|||
|
||||
if message.contentType == ContentType.Sticker:
|
||||
message.stickerHash = jsonMsg["sticker"]["hash"].getStr
|
||||
.join(" ")
|
||||
|
||||
if message.contentType == ContentType.Transaction:
|
||||
# TODO find a way to use json_seralization for this. When I try, I get an error
|
||||
|
|
Loading…
Reference in New Issue