Accept all friend requests
This commit is contained in:
parent
54356b6675
commit
e288869c1d
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,10 @@ private
|
|||
before_iteration
|
||||
end
|
||||
|
||||
@tox_client.on_friend_request do |public_key|
|
||||
@tox_client.friend_add_norequest public_key
|
||||
end
|
||||
|
||||
@screen = Screen.new
|
||||
Style.default = Style.new
|
||||
end
|
||||
|
|
Reference in a new issue