We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2d701e commit 39a0d71Copy full SHA for 39a0d71
cmd/mautrix-whatsapp/legacymigrate.sql
@@ -105,7 +105,7 @@ SELECT
105
in_space,
106
false, -- preferred
107
last_read_ts * 1000000000 -- last_read TODO check multiplier
108
-FROM user_portal_old;
+FROM user_portal_old WHERE EXISTS(SELECT 1 FROM user_login WHERE user_login.user_mxid=user_portal_old.user_mxid);
109
110
ALTER TABLE message_old ADD COLUMN combined_id TEXT;
111
DELETE FROM message_old WHERE sender IS NULL;
0 commit comments