mirror of
https://github.com/Finb/Bark.git
synced 2026-04-26 06:25:55 +03:00
[GH-ISSUE #315] 加密模式下,delete参数无法生效 #277
Labels
No labels
bug
enhancement
in progress
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Bark#277
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @github410117 on GitHub (Jul 31, 2025).
Original GitHub issue: https://github.com/Finb/Bark/issues/315
在使用ciphertext加密后,delete参数无法生效
原始数据
经过AES加密发送至bark,可以解出数据并提示
然后发送
并不能将上一条的提示给删除掉,并且还会多一条信息
不加密的情况下,是可以删除掉的
想请问一下作者,这个是Bug,还是说因为加密导致无法实现的呢
期待您的回复,感谢!
@Finb commented on GitHub (Jul 31, 2025):
id 参数是给APNs 用来确定推送标识符的,不能放进密文
delete 参数理论可以放到密文中,但传递后收到推送执行的代码在另外的地方解密比较麻烦,再加上值只会是1也没必要加解密。
所以建议携带密文时,可以额外再携带 这两个参数
例如 ?ciphertext=&id= , 删除就传 id=&delete=
@github410117 commented on GitHub (Aug 5, 2025):
感谢您的回复,确实如您所说传参可以,已经实现,再次感谢