fix: feather push notifications
This commit is contained in:
parent
8fca35ca06
commit
cad3610d2e
1 changed files with 2 additions and 2 deletions
|
@ -134,8 +134,8 @@ async fn encode_mastodon_payload(
|
|||
serde_json::to_value(token.token)?,
|
||||
);
|
||||
|
||||
// Ice Cubes and Mammoth expect notification_id to be an integer, but never use it.
|
||||
if client.name == "IceCubesApp" || client.name == "Mammoth" {
|
||||
// Ice Cubes, Mammoth, and feather expect notification_id to be an integer, but never use it.
|
||||
if ["IceCubesApp", "Mammoth", "feather"].contains(&client.name.as_str()) {
|
||||
let timestamp = object
|
||||
.get("notification_id")
|
||||
.and_then(|id| id.as_str())
|
||||
|
|
Loading…
Reference in a new issue