~singpolyma/jabber-client-demo

a3491f38d0462b4df1eb3d42d90da95d35944541 — Stephen Paul Weber 2 years ago 497faad
Allow adding new contact
1 files changed, 8 insertions(+), 0 deletions(-)

M client.rb
M client.rb => client.rb +8 -0
@@ 100,6 100,14 @@ Thread.new do
						Conversation.open(jid_entry.text)
					end
				}

				button("Add Contact") {
					stretchy false

					on_clicked do
						BLATHER.my_roster << jid_entry.text
					end
				}
			}
		}