clear the label if all messages have been removed, fixes #5346

Change-Id: I945a19f75ae7cb28e8acdd8489c5bbd11e831238
Reviewed-on: https://gerrit.instructure.com/5172
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
This commit is contained in:
Jon Jensen 2011-08-19 17:31:43 -06:00 committed by Zach Wily
parent 2b19f29615
commit 1fe15404ed
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ class ConversationParticipant < ActiveRecord::Base
self.last_message_at = nil
self.has_attachments = false
self.has_media_objects = false
self.label = nil
end
save
end