def do_mark_hotspot_as_read(user: UserProfile, hotspot: str) -> None:
    UserHotspot.objects.get_or_create(user=user, hotspot=hotspot)
    event = dict(type='hotspots', hotspots=get_next_hotspots(user))
    send_event(user.realm, event, [user.id])
def do_mark_hotspot_as_read(user: UserProfile, hotspot: str) -> None:
    UserHotspot.objects.get_or_create(user=user, hotspot=hotspot)
    event = dict(type='hotspots', hotspots=get_next_hotspots(user))
    send_event(user.realm, event, [user.id])