toxon
/
cli-old
Archived
1
0
Fork 0

Fix errors caused by Tox gem changes

This commit is contained in:
Braiden Vasco 2018-04-08 08:44:17 +00:00
parent 2816e3823e
commit 7533f6994e
No known key found for this signature in database
GPG Key ID: F1D3CA63437BDC6F
2 changed files with 3 additions and 3 deletions

View File

@ -13,4 +13,4 @@ SAVEDATA_FILENAME = File.expand_path '../savedata', __dir__
tox_options = Tox::Options.new
tox_options.savedata = File.binread SAVEDATA_FILENAME
tox_client = Tox::Client.new tox_options
puts tox_client.address.to_hex
puts tox_client.address

View File

@ -39,7 +39,7 @@ module Reducers
friends: action.friends.map do |friend|
[
friend.number,
public_key: friend.public_key.to_hex.freeze,
public_key: friend.public_key.to_s,
name: friend.name.freeze,
status: friend.status,
status_message: friend.status_message.freeze,
@ -59,7 +59,7 @@ module Reducers
friends: state[:friends].merge(
action.friend.number => {
public_key: action.friend.public_key.to_hex.freeze,
public_key: action.friend.public_key.to_s,
name: action.friend.name.freeze,
status: action.friend.status,
status_message: action.friend.status_message.freeze,