comms: include full_user_id when renaming
This commit is contained in:
parent
d8c3bb2f1b
commit
1cce304872
@ -295,8 +295,8 @@ spec:
|
||||
if not new:
|
||||
continue
|
||||
cur.execute(
|
||||
"INSERT INTO profiles (user_id, displayname) VALUES (%s, %s) ON CONFLICT (user_id) DO UPDATE SET displayname = EXCLUDED.displayname",
|
||||
(user_id, new),
|
||||
"INSERT INTO profiles (user_id, displayname, full_user_id) VALUES (%s, %s, %s) ON CONFLICT (user_id) DO UPDATE SET displayname = EXCLUDED.displayname",
|
||||
(user_id, new, user_id),
|
||||
)
|
||||
finally:
|
||||
conn.close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user