chat-cli: print messages only if chat is viewed

This commit is contained in:
Liam Fitzgerald 2020-12-04 13:05:38 +10:00
parent 56b57a6af7
commit 0fb8f98a44
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -369,6 +369,8 @@
%remove-graph (~(notice-remove se i.sez) +.q.upd)
::
%add-nodes
?. (~(has in viewing.session.i.sez) resource.q.upd)
[~ session.i.sez]
%+ ~(read-posts se i.sez)
resource.q.upd
(sort ~(tap by nodes.q.upd) ior)