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

Create a method that can compare stored messages in the DB and check if they have been edited #2

Open
pushshift opened this issue Aug 14, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@pushshift
Copy link
Owner

Telegram allows users to edit their messages. Determining if a message was edited from an original message is relatively easy since there is a field in the message object that signifies if a message was edited.

However, there needs to be logic in place to compare a message that has already been edited to detect additional future edits to that same message. Within the database, the original message will be stored along with all edited versions.

For example, if a message is an original message (unedited), the edited field in the message object can be examined to see if a message has been edited. If the message is then later edited again, further logic needs to be introduced to detect if the message was edited more than once.

All edits to a message will be stored in the database as they are detected during rescans, etc.

@pushshift pushshift self-assigned this Aug 14, 2019
@pushshift pushshift added the enhancement New feature or request label Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant