selfsdk 0.0.191 → 0.0.192

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/crypto.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65357649806a8e4ebd55a6fe50f71c320a01179d504869d5858bb267b26b3e26
4
- data.tar.gz: 8de8895c912330846ab940da4295fe8d8264d07218720dba76055122adbb7df2
3
+ metadata.gz: 1b84b3c0de37f3796956af4b2dad2ac22c36d607abac1dee60cf6eceb4d3ff38
4
+ data.tar.gz: 802b73496bc17ca86f09035e13a85c6d572b9607aac42b9688bd0cd2a0a0e994
5
5
  SHA512:
6
- metadata.gz: db4f1aa748151e57c6f3768e0f5745879b40d5b4889da9691de388bf89cef3a5b2c571ff931fcfe7a2f5d6f280d69f78e2f8bcb892ba2b3320431f88f9c4c04e
7
- data.tar.gz: 077cd58568cf2ad64e504374a9d0b816c17a05323a0d5d77a297e65c5bddc4cea1f1d81289cd1bc7e25744a00ee1b28eb7d6c75500954c89910f41674a112922
6
+ metadata.gz: 82458fb940a2d07acd9a2ae91f4b6abc71b25e3acb43c297026de425998a9b666441c2c10d8f206c5a26a85bd76cd947fc498d0f4e092bfd9e43e06b0819ddfe
7
+ data.tar.gz: 36447c612f393d0c1cae07ddf88380532346eae60828114389e4e0f741ce08cdbc65e13c62b19fd704493d1867a962141d6ecc76ff4b4089b24e6678aa4cb690
data/lib/crypto.rb CHANGED
@@ -151,7 +151,7 @@ module SelfSDK
151
151
  # if there is no session, create one
152
152
  # if there is an existing session and we are sent a one time key message, check
153
153
  # if it belongs to this current session and create a new inbound session if it doesn't
154
- if session_with_bob.nil? || m.instance_of?(SelfCrypto::PreKeyMessage) and !session_with_bob.will_receive?(m)
154
+ if session_with_bob.nil? || m.instance_of?(SelfCrypto::PreKeyMessage) && !session_with_bob.will_receive?(m)
155
155
  # 7b-ii) use the initial message to create a session for bob or carol
156
156
  session_with_bob = @account.inbound_session(m)
157
157
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selfsdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.191
4
+ version: 0.0.192
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aldgate Ventures