merge: pull request #333 from revoltchat/feat/apns

APNS fixes
This commit is contained in:
Paul Makles
2024-08-05 17:17:29 +02:00
committed by GitHub
14 changed files with 355 additions and 73 deletions

View File

@@ -458,8 +458,8 @@ impl Message {
) -> Result<()> {
self.send_without_notifications(
db,
user,
member,
user.clone(),
member.clone(),
matches!(channel, Channel::DirectMessage { .. }),
generate_embeds,
)
@@ -477,7 +477,7 @@ impl Message {
}
},
PushNotification::from(
self.clone().into_model(None, None),
self.clone().into_model(user, member),
Some(author),
channel.id(),
)