mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-02-25 19:38:05 -05:00
Fix messages not sent
This commit is contained in:
@@ -220,7 +220,7 @@ const notifyOtherUserInChannelIfInactive = async (
|
||||
[channelId, creator.id, startOfDay]
|
||||
)
|
||||
log('previous messages this day', previousMessagesThisDayBetweenTheseUsers)
|
||||
if (previousMessagesThisDayBetweenTheseUsers.count > 0) return
|
||||
if (previousMessagesThisDayBetweenTheseUsers.count > 1) return
|
||||
|
||||
await createNewMessageNotification(creator, otherUser, channelId)
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import {NewMessageEmail} from '../new-message'
|
||||
import {NewEndorsementEmail} from '../new-endorsement'
|
||||
import {Test} from '../test'
|
||||
import {getProfile} from 'shared/profiles/supabase'
|
||||
import { render } from "@react-email/render"
|
||||
import {render} from "@react-email/render"
|
||||
import {MatchesType} from "common/profiles/bookmarked_searches";
|
||||
import NewSearchAlertsEmail from "email/new-search_alerts";
|
||||
import WelcomeEmail from "email/welcome";
|
||||
|
||||
Reference in New Issue
Block a user