lita-talk 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/talk.rb +5 -1
- data/lita-talk.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3857b5a96e64788e9c74bf411ad9019e8afe190
|
4
|
+
data.tar.gz: 5e9218d0299585ac17f30eb3f8224ffdc57ded72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e334c1f7e9754061945586bd5b0537192b88774729671aa0a3040d8268a67a89bcddc84f659798e849744d5437ba7f2cfdb13022a82144f11b574bae69edc611
|
7
|
+
data.tar.gz: 94f5dd0dad4c9c4a206a14e23d0774c7cee09ab2007b4a8b1af9e789f458a552343763aa81ac0edc6a888e86e7951b7d949718dd4a8777c8fca8ebf9cf4bd784
|
data/lib/lita/handlers/talk.rb
CHANGED
@@ -36,7 +36,11 @@ module Lita
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def context_key(response)
|
39
|
-
|
39
|
+
if Lita.config.robot.adapter == :twitter
|
40
|
+
"lita-talk:#{response.message.user.id}"
|
41
|
+
else
|
42
|
+
"lita-talk:#{response.message.source.room}"
|
43
|
+
end
|
40
44
|
end
|
41
45
|
|
42
46
|
def params(context)
|
data/lita-talk.gemspec
CHANGED