Display status message
This commit is contained in:
parent
6aa322bab2
commit
90adbbd83e
2 changed files with 5 additions and 2 deletions
|
@ -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(
|
||||
|
|
|
@ -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: '
|
||||
|
|
Reference in a new issue