post dm to handle

merge-requests/21/head
Bob Mottram 2021-03-11 12:54:36 +00:00
parent 40bc86d88a
commit 1b3ada1e44
1 changed files with 2 additions and 0 deletions

View File

@ -545,6 +545,8 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
keyPress.startswith('post ') or \ keyPress.startswith('post ') or \
keyPress.startswith('send '): keyPress.startswith('send '):
keyPress = keyPress.replace(' to ', ' ') keyPress = keyPress.replace(' to ', ' ')
keyPress = keyPress.replace(' dm ', ' ')
keyPress = keyPress.replace(' DM ', ' ')
# direct message # direct message
toHandle = None toHandle = None
if keyPress.startswith('post '): if keyPress.startswith('post '):