mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 01:47:41 +00:00
hotspots: Fix typos in function name and code comment.
This commit is contained in:
committed by
Tim Abbott
parent
25276a14d1
commit
540cca595c
@@ -83,7 +83,7 @@ def get_next_hotspots(user: UserProfile) -> List[Dict[str, object]]:
|
||||
return []
|
||||
|
||||
|
||||
def copy_hotpots(source_profile: UserProfile, target_profile: UserProfile) -> None:
|
||||
def copy_hotspots(source_profile: UserProfile, target_profile: UserProfile) -> None:
|
||||
for userhotspot in frozenset(UserHotspot.objects.filter(user=source_profile)):
|
||||
UserHotspot.objects.create(
|
||||
user=target_profile, hotspot=userhotspot.hotspot, timestamp=userhotspot.timestamp
|
||||
|
||||
Reference in New Issue
Block a user