Bubble [main]
Bumped version to 7.3; separate notification groupings
[1mdiff --git a/50_bubble.py b/50_bubble.py[m
[1mindex 6bc984d..079979a 100644[m
[1m--- a/50_bubble.py[m
[1m+++ b/50_bubble.py[m
[36m@@ -18,7 +18,7 @@[m [mfrom utils import *[m
from worker import *[m
[m
[m
[31m-__version__ = '7.2'[m
[32m+[m[32m__version__ = '7.3'[m
[m
[m
class Bubble:[m
[1mdiff --git a/user.py b/user.py[m
[1mindex 7d3766e..3881401 100644[m
[1m--- a/user.py[m
[1m+++ b/user.py[m
[36m@@ -311,9 +311,6 @@[m [mclass Subgrouping:[m
src = [][m
top_head = False[m
for post_id, notifs in self.by_post.items():[m
[31m- if top_head:[m
[31m- # Separate subgroups.[m
[31m- src.append('')[m
top_head = post_id and len(notifs) > 1[m
if top_head:[m
n = notifs[0][m
[36m@@ -321,6 +318,8 @@[m [mclass Subgrouping:[m
sub_text = f" in {'u/' if n.post_subowner else 's/'}{n.post_subname}"[m
else:[m
sub_text = ''[m
[32m+[m[32m if src:[m
[32m+[m[32m src.append('')[m
src.append(f'"{n.title_text()}"{sub_text}:')[m
for notif in notifs:[m
src.append('=> %s %s' % notif.entry(with_title=not top_head))[m