models: Remove MutedTopic alias for UserTopic.

Part of #19272
This commit is contained in:
Abhijeet Prasad Bodas
2021-07-23 18:56:02 +05:30
committed by Tim Abbott
parent 798defc046
commit 683c8507e4
9 changed files with 23 additions and 26 deletions

View File

@@ -40,7 +40,6 @@ from zerver.models import (
DefaultStream,
Huddle,
Message,
MutedTopic,
Reaction,
Realm,
RealmAuditLog,
@@ -60,6 +59,7 @@ from zerver.models import (
UserMessage,
UserPresence,
UserProfile,
UserTopic,
get_display_recipient,
get_realm,
get_system_bot,
@@ -751,7 +751,7 @@ def get_realm_config() -> Config:
Config(
table="zerver_mutedtopic",
model=MutedTopic,
model=UserTopic,
normal_parent=user_profile_config,
parent_key="user_profile__in",
)