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

Wrong values of the private messages counters #990

Closed
e-schepachev opened this Issue Nov 10, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@e-schepachev
Copy link

e-schepachev commented Nov 10, 2018

Looks like the counters get values less then 0:
["unknown",{"total_outbox_messages":4294967282,"unread_outbox_messages":4294967282,"total_inbox_messages":4294967295,"unread_inbox_messages":4294967295,"total_contacts":1}]

@e-schepachev

This comment has been minimized.

Copy link

e-schepachev commented Nov 10, 2018

The type of a contact (unknown, pinned, ignored) has been missed when searching for the counter to be modified in the private messages delete operation. Due to this quantity of the messages from pinned contact could be subtracted from the counter for the unknown type contacts.
Added a contact type in searching for the counter to be modified in the delete messages operation.PR #991

@e-schepachev e-schepachev self-assigned this Nov 10, 2018

@e-schepachev e-schepachev added the bug label Nov 10, 2018

@e-schepachev e-schepachev added this to To do in development via automation Nov 10, 2018

@e-schepachev e-schepachev removed this from To do in development Nov 10, 2018

@afalaleev afalaleev added this to the 0.19.0 milestone Nov 11, 2018

afalaleev added a commit that referenced this issue Nov 11, 2018

@afalaleev afalaleev closed this Nov 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment