Merge pull request #209 from tloncorp/m/bark-safer-summary

lib: avoid crash during activity summarization
This commit is contained in:
Zach Alberico 2023-08-02 13:47:30 -07:00 committed by GitHub
commit 9e972fe116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,14 +86,15 @@
:: group. simply skip past it and try the next one...
=+ .^ =groups:groups
%gx
=- ~& [%scrying -] -
(scry-path %groups /groups/groups)
==
|-
?~ faz ['???' '???'] ::TODO better copy
~| i.faz
?. (~(has by groups) g.i.faz)
$(faz t.faz)
=/ =group:^groups (~(got by groups) g.i.faz)
:- title.meta.group
title.meta:(~(got by channels.group) %chat c.i.faz)
?~ chat=(~(get by channels.group) %chat c.i.faz)
$(faz t.faz)
[title.meta.group title.meta.u.chat]
--