changes to make joining a friends table possible

This commit is contained in:
Jeena Paradies 2011-05-03 18:34:19 +02:00
parent 726528985b
commit 8a574db360
8 changed files with 120 additions and 132 deletions

View file

@ -9,8 +9,10 @@ class Chat
include GGSDelegate
def initialize
@ggs_network = GGSNetwork.new(self)
@ggs_network.connect("localhost")
print "Table token (empty for new): "
table_token = gets.chomp
@ggs_network = GGSNetwork.new(self, table_token)
@ggs_network.connect("ggs.jeena.net", 9000)
end
def ggsNetworkReady(ggs_network, am_i_host)