lita-discord_oauth 0.1.2.alpha.49 → 0.1.2.alpha.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/adapters/discord_oauth.rb +1 -2
- 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: 83611585f04b5691290e1cd20dfe3bdb79e1a7e5
|
4
|
+
data.tar.gz: 0bee0f46686f1ab83bed2bc29475abacfd63a7a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5026c77c36c3793179c681e55f03f442861f1db163355d87e8945db8521035b2836f5cec0969e7d091cb580aa1d9d57aaa52ac55cc5cf76a4b4a8d9341f51ee
|
7
|
+
data.tar.gz: 1bb5dc73917f3b01ace47d16ed2646876364a7135166f346d7bed31d025344d5413c5558b0aa5f6508eb811f15e24eb1bb0c47e4a3a3c1fc1a68ac59104fe2f9
|
@@ -36,8 +36,7 @@ module Lita
|
|
36
36
|
|
37
37
|
if user != nil
|
38
38
|
Lita.logger.debug("User #{author_id} found, updating name to #{author_name}")
|
39
|
-
user.name
|
40
|
-
user.save
|
39
|
+
user = Lita::User.create(author_id, {name: author_name})
|
41
40
|
end
|
42
41
|
|
43
42
|
Lita.logger.debug("User #{author_id} not found, creating now")
|