Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

persist user's names and email addresses when they change

  • Loading branch information...
commit 799146aa5d9ba0a99e81cb1b2a8aa081f0669167 1 parent 1754a35
@atmos atmos authored
View
2  package.json
@@ -1,6 +1,6 @@
{
"name": "hubot",
- "version": "1.1.6",
+ "version": "1.1.7",
"author": "hubot",
"keywords": "github hubot campfire bot",
"description": "A simple helpful Robot for your Company",
View
2  src/hubot/campfire.coffee
@@ -25,6 +25,8 @@ class Campfire extends Robot
bot.User user, (err, userData) ->
if userData.user
author = self.userForId(userData.user.id, userData.user)
+ self.brain.data.users[userData.user.id].name = userData.user.name
+ self.brain.data.users[userData.user.id].email_address = userData.user.email_address
author.room = room
callback id, created, room, user, body, author
View
2  src/templates/package.json
@@ -15,7 +15,7 @@
},
"dependencies": {
- "hubot": "1.1.6",
+ "hubot": "1.1.7",
"hubot-scripts": "1.1.4",
"optparse": "1.0.1"
}
Please sign in to comment.
Something went wrong with that request. Please try again.