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

localslackirc: Doesn't show anything which I wrote via web interface #118

Closed
ltworf opened this issue Apr 4, 2019 · 8 comments
Closed

Comments

@ltworf
Copy link
Owner

ltworf commented Apr 4, 2019

Reported on debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926320

@ltworf
Copy link
Owner Author

ltworf commented Apr 8, 2019

slack doesn't seem to have any id for the messages at all, so there is no easy way to track that a received message is actually the same as a sent message.

On the other hand, rchat has ids that can be set from the client itself, so doing this for rchat seems trivial.

@daniel-Jones
Copy link
Contributor

the timestamp is unique to the channel in slack and can serve as the id, "[...] and ts is the unique (per-channel) timestamp." from https://api.slack.com/events/message, https://twitter.com/slackapi/statuses/870268779510542336

@ltworf
Copy link
Owner Author

ltworf commented Apr 8, 2019

I tried, but seems that the timestamp that I get when sending the message is the timestamp of when slack gets the request, and when the message gets sent to the channel is the different timestamp of when that happens.

@ltworf
Copy link
Owner Author

ltworf commented Apr 8, 2019

Seems I was wrong… event_ts vs ts.

@ltworf
Copy link
Owner Author

ltworf commented Apr 8, 2019

#119

@ltworf
Copy link
Owner Author

ltworf commented Apr 9, 2019

#120

@ltworf
Copy link
Owner Author

ltworf commented Apr 9, 2019

It is partially done… private messages will show up weird.

@ltworf
Copy link
Owner Author

ltworf commented Apr 9, 2019

#123

@ltworf ltworf closed this as completed Apr 9, 2019
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