mirror of https://github.com/zulip/zulip.git
models: Remove a scary but obsolete comment.
This field was apparently never used, perhaps because we
reread this comment and anticipated how much future pain
it was warning us to avoid. :) See commit 2de31ee28
,
which deleted it.
This commit is contained in:
parent
c9e35c459a
commit
4a652ded0b
|
@ -1260,9 +1260,6 @@ class Reaction(ModelReprMixin, models.Model):
|
||||||
# though each row is only 4 integers.
|
# though each row is only 4 integers.
|
||||||
class AbstractUserMessage(ModelReprMixin, models.Model):
|
class AbstractUserMessage(ModelReprMixin, models.Model):
|
||||||
user_profile = models.ForeignKey(UserProfile, on_delete=CASCADE) # type: UserProfile
|
user_profile = models.ForeignKey(UserProfile, on_delete=CASCADE) # type: UserProfile
|
||||||
# We're not using the archived field for now, but create it anyway
|
|
||||||
# since this table will be an unpleasant one to do schema changes
|
|
||||||
# on later
|
|
||||||
ALL_FLAGS = ['read', 'starred', 'collapsed', 'mentioned', 'wildcard_mentioned',
|
ALL_FLAGS = ['read', 'starred', 'collapsed', 'mentioned', 'wildcard_mentioned',
|
||||||
'summarize_in_home', 'summarize_in_stream', 'force_expand', 'force_collapse',
|
'summarize_in_home', 'summarize_in_stream', 'force_expand', 'force_collapse',
|
||||||
'has_alert_word', "historical", 'is_me_message']
|
'has_alert_word', "historical", 'is_me_message']
|
||||||
|
|
Loading…
Reference in New Issue