我有看到你们公众号发的“自动删除消息功能的实现”
这个自动删除的逻辑能解释下吗?
服务端我调用了接口传了expireDuration 设为1000,我理解的是:1秒后消息过期,可是我客户端已经杀死后台的情况下,再进入app还是显示了这条消息。
我客户端在线,再发一条,消息一秒后也依然存在。
我客户端协议栈已经升级到12.22了
服务端的版本是:
{
"tags":"null",
"branch":"1c152b8486fb582ca75f87734b89f4a685b47b5e",
"dirty":"null",
"remoteOriginUrl":"git@github.com:heavyrain2012/server_commercial.git",
"commitId":"1c152b8486fb582ca75f87734b89f4a685b47b5e",
"commitIdAbbrev":"1c152b8",
"describe":"moli-778-g1c152b8-dirty",
"describeShort":"null",
"commitUserName":"heavyrian2012",
"commitUserEmail":"heavyrain.lee@wildfirehat.cn",
"commitMessageFull":"fix get valid session error\n",
"commitMessageShort":"fix get valid session error",
"commitTime":"20230525113258",
"nodeIds":"1 ",
"closestTagName":"null",
"closestTagCommitCount":"null",
"buildUserName":"Unknown",
"buildUserEmail":"Unknown",
"buildTime":"20230526115457",
"buildHost":"null",
"buildVersion":"null",
"verified":true,
"currentNode":1,
"runTime":5898826
}