Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chatID to SQL query for Group Messaging #2

Open
Ghawken opened this issue Nov 2, 2018 · 1 comment
Open

Add chatID to SQL query for Group Messaging #2

Ghawken opened this issue Nov 2, 2018 · 1 comment

Comments

@Ghawken
Copy link
Owner

Ghawken commented Nov 2, 2018

No description provided.

@Ghawken
Copy link
Owner Author

Ghawken commented Nov 2, 2018

Done.
Doesn't help

Links the chat.id and guid with incoming messasge. Unfortunately still doesn't give us groupID.
Can individual run a sql query to get groupID and then send group Message.
BUT
Will not allow indigo to reply and overall very messy

# sqlcommand = ''' # SELECT handle.id, message.text , chat.guid # FROM message # INNER JOIN handle # ON message.handle_id = handle.ROWID # INNER JOIN chat # ON handle.ROWID = chat.ROWID # WHERE is_from_me=0 AND # datetime(message.date/1000000000 + strftime("%s", "2001-01-01") ,"unixepoch","localtime") >= datetime('now','-10 seconds', 'localtime'); # '''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant