ability to post a message to a cached thread
This commit is contained in:
parent
3002f3f7c5
commit
c48c67875d
1 changed files with 4 additions and 0 deletions
|
|
@ -363,6 +363,10 @@ class Boobmsg(ReplApplication):
|
|||
# It's an original message
|
||||
thread_id = receiver
|
||||
parent_id = None
|
||||
try:
|
||||
thread_id = self.threads[int(thread_id) - 1].id
|
||||
except (IndexError,ValueError):
|
||||
pass
|
||||
|
||||
thread = Thread(thread_id)
|
||||
message = Message(thread,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue