mirror of https://git.skyjake.fi/gemini/bubble.git
Merge branch 'main' of skyjake.fi:gemini/bubble into main
This commit is contained in:
commit
d7528d3252
5
user.py
5
user.py
|
@ -311,9 +311,6 @@ class Subgrouping:
|
|||
src = []
|
||||
top_head = False
|
||||
for post_id, notifs in self.by_post.items():
|
||||
if top_head:
|
||||
# Separate subgroups.
|
||||
src.append('')
|
||||
top_head = post_id and len(notifs) > 1
|
||||
if top_head:
|
||||
n = notifs[0]
|
||||
|
@ -321,6 +318,8 @@ class Subgrouping:
|
|||
sub_text = f" in {'u/' if n.post_subowner else 's/'}{n.post_subname}"
|
||||
else:
|
||||
sub_text = ''
|
||||
if src:
|
||||
src.append('')
|
||||
src.append(f'"{n.title_text()}"{sub_text}:')
|
||||
for notif in notifs:
|
||||
src.append('=> %s %s' % notif.entry(with_title=not top_head))
|
||||
|
|
Loading…
Reference in New Issue