Add sender_id to sent messages

(imported from commit 5ed87152143fbc2c5936ee3903b6dbef4f1c9e32)
This commit is contained in:
Leo Franchi 2013-07-26 17:01:47 -04:00 committed by Leo Franchi
parent 0de1d3dc1f
commit e0374cf761
1 changed files with 1 additions and 0 deletions

View File

@ -416,6 +416,7 @@ class Message(models.Model):
sender_full_name = self.sender.full_name,
sender_short_name = self.sender.short_name,
sender_domain = self.sender.realm.domain,
sender_id = self.sender.id,
type = display_type,
display_recipient = display_recipient,
recipient_id = self.recipient.id,