Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

fillMessageKeys: allow for SessionCipher creator to specify limit #29

Merged
merged 1 commit into from
Aug 4, 2017

Commits on Aug 4, 2017

  1. SessionCipher: allow caller to provide fillMessageKeys limit

    If options.messageKeysLimit is provided by falsey, then we don't apply
    any limit at all. This can be used to set no limit for communications
    from your own devices.
    
    Why would you want that? People leave their laptops closed for weeks at
    a time and get this error, since their other devices are sending
    messages to it constantly:
    
    "Too many message keys for chain"
    
    And it seems to be really hard to fix once you're in this state. Sync
    messages no longer show up from the device that got into this state.
    
    FREEBIE
    scottnonnenberg committed Aug 4, 2017
    Configuration menu
    Copy the full SHA
    b6c3093 View commit details
    Browse the repository at this point in the history