kindling 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/kindling.gemspec +1 -1
- data/lib/kindling/campfire.rb +3 -3
- metadata +1 -1
data/kindling.gemspec
CHANGED
data/lib/kindling/campfire.rb
CHANGED
@@ -14,11 +14,11 @@ module Kindling
|
|
14
14
|
Kindling::Request.rooms(self)
|
15
15
|
end
|
16
16
|
|
17
|
-
def speak(room, message)
|
17
|
+
def speak(room, message, type="Textmessage")
|
18
18
|
if is_campfire_id?(room)
|
19
|
-
Kindling::Request.speak(message, self, room)
|
19
|
+
Kindling::Request.speak(message, self, room, type)
|
20
20
|
else
|
21
|
-
Kindling::Request.speak(message, self, map_room_name(room))
|
21
|
+
Kindling::Request.speak(message, self, map_room_name(room), type)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|