Skip to content

refactor: remove MessengerMessage - #8566

Merged
link2xt merged 1 commit into
mainfrom
link2xt/yunrlkmkmwwu
Aug 12, 2026
Merged

refactor: remove MessengerMessage#8566
link2xt merged 1 commit into
mainfrom
link2xt/yunrlkmkmwwu

Conversation

@link2xt

@link2xt link2xt commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

This value is not used for any logic
except the disappearing messages timer rollback prevention. It is unlikely that non-chat clients
participate in chats with disappearing messages,
and the case was not tested anyway.

Comment thread src/receive_imf.rs
context,
"Ignoring ephemeral timer change to {ephemeral_timer:?} for chat {chat_id} because sender {from_id} is not a member.",
);
} else if is_dc_message == MessengerMessage::Yes

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only logic change is here, the rest of the code is maintaining msgrmsg column and testing it.

@link2xt
link2xt force-pushed the link2xt/yunrlkmkmwwu branch from 8d9de50 to a17ab03 Compare August 11, 2026 19:17
@link2xt
link2xt marked this pull request as ready for review August 11, 2026 19:29
@link2xt

link2xt commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator Author

Somewhat related to #8493, was trying to understand why do we still need msgs.msgrmsg column, and turns out it is unnecessary.

@link2xt
link2xt requested a review from r10s August 11, 2026 20:12
@link2xt
link2xt force-pushed the link2xt/yunrlkmkmwwu branch from a17ab03 to 83e88fc Compare August 11, 2026 20:20
@hpk42

hpk42 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

sidenote: the commit is prefixed "refactor" while it does slightly change user-observable behaviour. But i don't overly care and certainly don't like holding up or delaying merges of PRs with relatively minor comments or nits (i approved already).

This value is not used for any logic
except the disappearing messages timer rollback prevention.
It is unlikely that non-chat clients
participate in chats with disappearing messages,
and the case was not tested anyway.
@link2xt
link2xt force-pushed the link2xt/yunrlkmkmwwu branch from 83e88fc to 8819296 Compare August 12, 2026 05:56
@link2xt
link2xt merged commit ae5b27f into main Aug 12, 2026
54 of 55 checks passed
@link2xt
link2xt deleted the link2xt/yunrlkmkmwwu branch August 12, 2026 07:44
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

Successfully merging this pull request may close these issues.

2 participants