Compare commits

...

2 Commits

Author SHA1 Message Date
Jaakko Keränen 18061b9697
Handling a malformed reaction notification 2024-04-18 17:40:52 +03:00
Jaakko Keränen f2d742a557
Error when rendering notifications; bumped version to 8.7
IssueID #123
2024-04-18 17:27:56 +03:00
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ from utils import *
from worker import *
__version__ = '8.6'
__version__ = '8.7'
class Bubble:

View File

@ -157,7 +157,7 @@ class Notification:
icon = '🙏 '
elif self.type == Notification.REACTION:
event = f'reacted to your {kind}'
icon = self.reaction + ' '
icon = (self.reaction if self.reaction else '🔔') + ' '
elif self.type == Notification.COMMENT:
event = f'commented on your {kind}'
icon = '💬 '