mirror of https://github.com/zulip/zulip.git
Removed unused rendered_content argument
(imported from commit 214d0dac63bb4e7fc4fd477ab1e22a0f2e65227d)
This commit is contained in:
parent
a7c91bce1b
commit
9cb5c23da9
|
@ -306,11 +306,11 @@ def extract_message_dict(message_str):
|
|||
def stringify_message_dict(message_dict):
|
||||
return zlib.compress(ujson.dumps(message_dict))
|
||||
|
||||
def to_dict_cache_key_id(message_id, apply_markdown, rendered_content=None):
|
||||
def to_dict_cache_key_id(message_id, apply_markdown):
|
||||
return 'message_dict:%d:%d' % (message_id, apply_markdown)
|
||||
|
||||
def to_dict_cache_key(message, apply_markdown, rendered_content=None):
|
||||
return to_dict_cache_key_id(message.id, apply_markdown, rendered_content=None)
|
||||
def to_dict_cache_key(message, apply_markdown):
|
||||
return to_dict_cache_key_id(message.id, apply_markdown)
|
||||
|
||||
class Message(models.Model):
|
||||
sender = models.ForeignKey(UserProfile)
|
||||
|
|
Loading…
Reference in New Issue