We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cee08f commit 144aee5Copy full SHA for 144aee5
app/assets/javascripts/backbone/views/show_activity.js.coffee
@@ -16,7 +16,7 @@ class Kandan.Views.ShowActivity extends Backbone.View
16
@compiledTemplate = Kandan.Helpers.Activities.buildFromMessageTemplate activity
17
18
$(@el).data("activity-id", activity.id)
19
- if activity.action == "message" && activity.user_id == Kandan.Helpers.Users.currentUser().id
+ if activity.action == "message" && activity.user.id == Kandan.Helpers.Users.currentUser().id
20
$(@el).addClass("current_user")
21
22
if activity.id == undefined
0 commit comments