mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-11 17:34:45 +00:00
Remove unused variables
This commit is contained in:
@@ -502,7 +502,7 @@ class MessageHandler(BaseHandler):
|
||||
# Ensure that we can round trip before trying to persist in db
|
||||
try:
|
||||
dump = ujson.dumps(event.content)
|
||||
load = ujson.loads(dump)
|
||||
ujson.loads(dump)
|
||||
except:
|
||||
logger.exception("Failed to encode content: %r", event.content)
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user