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

edited messages are no longer updating in-place without reloading the script #861

Closed
sudoforge opened this issue Apr 26, 2022 · 2 comments
Closed

Comments

@sudoforge
Copy link
Contributor

Historically, edited messages would be updated in-place and (edited) would appear at EOL. I am no longer experiencing this; instead, the original message appears unmodified until the script is reloaded via /python reload slack.

I'd be happy to provide debug logs; let me know what is needed.

@trygveaa
Copy link
Member

Sorry for the late reply here. I have not experienced this, I see edits. Do you still have the issue? Is it consistently reproducable?

Can you try to enable plugins.var.python.slack.record_events and see if you get any files named <number>.<number>-message.json in /tmp/weeslack-debug/<team>/websocket containing "subtype": "message_changed"?

Or alternatively, add a print in the subprocess_message_changed function and check if it get's called when a message is edited.

@sudoforge
Copy link
Contributor Author

I am no longer able to reproduce this. 🤷‍♂️

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

2 participants