neilalexander / seaglass

A truly native Matrix client for macOS - written in Swift/Cocoa, with E2E encryption support
Other
529 stars 34 forks source link

E2E rooms when keys are unavailable results in crashes #69

Closed neilalexander closed 6 years ago

neilalexander commented 6 years ago

Specifications

Expected Behavior

When no encryption keys are available, Seaglass should request keys and show dummy messages in the interim.

Actual Behavior

No message history seems to be shown, and eventually results in a crash as there is an inconsistency between the row count and an insert/remove operation on the room view table.

Steps to Reproduce the Problem

  1. Remove all caches and MXFileStore
  2. Log in and select an encrypted channel
  3. Don't acknowledge keysharing requests from other clients, if any appear
neilalexander commented 6 years ago

Should be fixed in cf3bee2367555c8736fc25d40d3aad8d815e9ee9.