mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Added the ability to see notes you've sent yourself.
This commit is contained in:
parent
ebcc9a3f1d
commit
a1c911e954
@ -195,7 +195,7 @@ class Notes(callbacks.Privmsg):
|
|||||||
if toId == id:
|
if toId == id:
|
||||||
author = ircdb.users.getUser(fromId).name
|
author = ircdb.users.getUser(fromId).name
|
||||||
newnote = '%s (Sent by %s %s ago)' % (note, author, elapsed)
|
newnote = '%s (Sent by %s %s ago)' % (note, author, elapsed)
|
||||||
elif fromid == id:
|
elif fromId == id:
|
||||||
recipient = ircdb.users.getUser(toId).name
|
recipient = ircdb.users.getUser(toId).name
|
||||||
newnote = '%s (Sent to %s %s ago)' % (note, recipient, elapsed)
|
newnote = '%s (Sent to %s %s ago)' % (note, recipient, elapsed)
|
||||||
irc.reply(msg, newnote, private=(not public))
|
irc.reply(msg, newnote, private=(not public))
|
||||||
|
Loading…
Reference in New Issue
Block a user