Closed RalfJung closed 8 years ago
hm i dont know really why this happend
the migration is taken care by the plugin
this is the migration code
DROP TABLE signed_prekeys;
CREATE TABLE IF NOT EXISTS signed_prekeys (
_id INTEGER PRIMARY KEY AUTOINCREMENT,
prekey_id INTEGER UNIQUE,
timestamp NUMERIC DEFAULT CURRENT_TIMESTAMP, record BLOB);
ALTER TABLE identities ADD COLUMN shown INTEGER DEFAULT 0;
UPDATE identities SET shown = 1;
maybe you can look what didnt go through here in your db
you also should set
PRAGMA user_version=5
when you are finished.
or you delete the db and start new, this would trigger a new key generated, your contact would have to trust a new fingerprint
I changed user_version(self.dbConn) < 5
to user_version(self.dbConn) <= 5
, restarted Gajim, changed it back, restarted Gajim again -- now things are working. Strange...
General information
Before opening an issue, please read our Wiki
Steps to reproduce
Expected result
The message should be sent. Instead, I get an error:
I suspect some DB file around here is outdated... but the plugin should really take care of the necessary migrations itself, instead of making Gajim unusable.