-
Notifications
You must be signed in to change notification settings - Fork 0
Furnic/usernames #13
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
base: main
Are you sure you want to change the base?
Furnic/usernames #13
Changes from all commits
35a479c
3e84903
f5e38e8
f2d6d0e
7cf4487
372168d
a138116
3bc02b6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -122,6 +122,10 @@ impl PendingRequests { | |
| self.dispatch_member_list(members, creator, client_ref).await; | ||
| None | ||
| } | ||
| ServerMessage::PasswordChanged => { | ||
| // Acknowledgment only — the subsequent AuthToken resolves the pending auth oneshot | ||
| None | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the sync server crashes or the connection drops between sending Since
|
||
| } | ||
| ServerMessage::TokenExpiring { remaining_secs } => { | ||
| eprintln!("sync: token expiring in {remaining_secs}s"); | ||
| None | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This field is always set to
Nonein bothmain.rsfiles — there's no CLI flag wired up to populate it, so the priority logic added below (config.user_name> DB setting) is dead code from the user's perspective.I'd suggest removing
user_namefromServerConfigentirely for now rather than shipping an unused field. The DB-based persistence already works, and the username is editable via the new Account panel. If we need a CLI override later we can add it then with the actual--user-nameflag.