mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Change notification to only-notify-of-unnotified-messages.
This commit is contained in:
parent
3f764eab0f
commit
0cc386e7f7
@ -131,7 +131,7 @@ class Notes(callbacks.Privmsg):
|
||||
notes.to_id=users.id AND
|
||||
notified=0""", name)
|
||||
unnotified = int(cursor.fetchone()[0])
|
||||
if unread + unnotified == 0:
|
||||
if unnotified != 0:
|
||||
return
|
||||
s = 'You have %s unread note%s ' \
|
||||
'%s that I haven\'t told you about before now..' % \
|
||||
|
Loading…
Reference in New Issue
Block a user