• Kateryna Kostiuk's avatar
    database: migrate to database for account · 5e8d8b81
    Kateryna Kostiuk authored
    New database is created per account. It contains:
    - profiles table
    - conversations table
    - interaction table
    - account profile. This table has only one row and store account
    avatar and alias
    
    Database file named by account id.
    
    Database content also was changed:
    - contact uri stored in canonical format, so it is unique for SIP
    contacts
    - generated messages stored in a format that allows localizations.
    
    Change-Id: Id7803ab797ac937d63155870fc5c8edf94119bbd
    5e8d8b81
ProfileDataHelper.swift 7.49 KB