[Bug] Notifications on APP was gone after connected to EvoGo
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先定位已连接的 WhatsApp 实例在哪里创建并保持活动状态,然后跟踪 WhatsMeow 客户端的生命周期和 Presence 处理。使用报告中的 v0.7.1 Docker 行为作为复现案例。完成的标准是:实例保持连接期间,已连接的 Android 和 iOS 应用继续接收 WhatsApp 通知,并且关闭后不会让 Presence ticker 继续运行。
由索引模型根据 Issue 内容生成。
描述
Welcome!
- Yes, I have searched for similar issues on GitHub and found none.
What did you do?
After connected to EvoGo, whatsapp notifications was gone.
What did you expect?
Continue receiving WhatsApp notifications in the app after connecting to EvoGo.
What did you observe instead of what you expected?
Notifications in the WhatsApp application (Android/iOS) stopped being displayed after connecting to EvoGo, instead of continuing to be received.
Screenshots/Videos
No response
Which version are you using?
v0.7.1
What is your environment?
Docker
If applicable, paste the log output
No response
Additional Notes
This is a known bug and its easy to solve, just sending the presence: unavailable event every 15s on every connected instance. But i'm new on evoGo stack and dont know the best place to do that.
This solution i wrote in another project that use WhatsMeow:
func setUnavailable(log *logrus.Logger, cli *whatsmeow.Client) {
if cli.IsLoggedIn() {
var err = cli.SendPresence(context.Background(), types.PresenceUnavailable)
if err != nil {
logger.Infof("Error to deactivate presence")
}
}
}
//Setar unavailable para receber os notify no app
ticker := time.NewTicker(15 * time.Second)
defer ticker.Stop()
go func() {
for range ticker.C {
setUnavailable(logger, cli)
}
}()
- 主要语言
- Go
- 星标
- 971
- 派生
- 519
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
evolution-foundation/evolution-go 的其他 Issue
-
/user/info and /user/avatar hang for 75s when number is a phone number可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
evolution-foundation/evolution-go#223 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
evolution-foundation/evolution-go#193 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
evolution-foundation/evolution-go#104 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
evolution-foundation/evolution-go#101 ·
维护者通常 1 天内回复
-
POST /group/participant always returns 400 "participants is required and cannot be empty" (wrong validation middleware on route)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug
难度 1/5 1 小时以内 新手友好度 88/100
evolution-foundation/evolution-go#97 · 2 条评论 ·
维护者通常 1 天内回复
查看 evolution-foundation/evolution-go 的全部 Issue
相似的 Issue
-
desktop v3 windows
难度 2/5 1-3 小时 新手友好度 75/100
esengine/DeepSeek-Reasonix#15016 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
OneBusAway/vehicle-positions#260 ·
维护者通常 1 天内回复
-
Panic on startup when the GitHub releases API returns no `tag_name` (rate limit / network failure)未关闭
难度 2/5 1-3 小时 新手友好度 78/100
blurfx/KakaoTalkAdBlock#113 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
discobox-ai/discobox#860 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复