mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 16:05:00 -04:00
Handle the fact that in sqlite binary data might be stored as unicode or bytes
This commit is contained in:
parent
ce797ad373
commit
7ed2ec3061
5 changed files with 20 additions and 5 deletions
|
@ -36,7 +36,7 @@ class ProfileStore(SQLBaseStore):
|
|||
)
|
||||
|
||||
if name:
|
||||
name = name.decode("utf8")
|
||||
name = self.database_engine.load_unicode(name)
|
||||
|
||||
defer.returnValue(name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue