fix: remove spaces from sticker hashes

Looks like this may have ended up in the codebase unintentionally.
This commit is contained in:
emizzle 2020-09-11 16:47:28 +10:00 committed by Iuri Matias
parent 8e2acbe009
commit 19e801bba8

View File

@ -198,7 +198,6 @@ proc toMessage*(jsonMsg: JsonNode): Message =
if message.contentType == ContentType.Sticker: if message.contentType == ContentType.Sticker:
message.stickerHash = jsonMsg["sticker"]["hash"].getStr message.stickerHash = jsonMsg["sticker"]["hash"].getStr
.join(" ")
if message.contentType == ContentType.Transaction: if message.contentType == ContentType.Transaction:
# TODO find a way to use json_seralization for this. When I try, I get an error # TODO find a way to use json_seralization for this. When I try, I get an error