Archived
1
0
Fork 0

Display status message

This commit is contained in:
Braiden Vasco 2017-07-26 03:32:16 +00:00
parent 6aa322bab2
commit 90adbbd83e
2 changed files with 5 additions and 2 deletions

View file

@ -14,8 +14,9 @@ module Widgets
super
@info.props = props[:info].merge(
public_key: props[:friend] ? props[:friend][:public_key] : nil,
name: props[:friend] ? props[:friend][:name] : nil,
public_key: props[:friend] ? props[:friend][:public_key] : nil,
name: props[:friend] ? props[:friend][:name] : nil,
status_message: props[:friend] ? props[:friend][:status_message] : nil,
).freeze
@history.props = props[:history].merge(

View file

@ -14,6 +14,8 @@ module Widgets
Style.default.peer_info_name window do
addstr props[:name]
end
addstr ' : '
addstr props[:status_message]
setpos 0, 1
addstr 'Public key: '