Added method to open users mailbox.
This commit is contained in:
parent
37c70634a8
commit
97e8e8346c
@ -62,7 +62,6 @@ class Reddit(IntervalModule):
|
||||
}
|
||||
|
||||
on_leftclick = "open_permalink"
|
||||
on_click = "open_link"
|
||||
|
||||
_permalink = ""
|
||||
_url = ""
|
||||
@ -136,6 +135,9 @@ class Reddit(IntervalModule):
|
||||
"color": color,
|
||||
}
|
||||
|
||||
def open_mail(self):
|
||||
user_open('https://www.reddit.com/message/unread/')
|
||||
|
||||
def open_permalink(self):
|
||||
user_open(self._permalink)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user