mirror of
https://github.com/openai/codex.git
synced 2026-05-26 05:55:36 +00:00
Route thread settings notifications by thread
This commit is contained in:
@@ -47,7 +47,9 @@ pub(super) fn server_notification_thread_target(
|
||||
ServerNotification::ThreadStatusChanged(notification) => {
|
||||
Some(notification.thread_id.as_str())
|
||||
}
|
||||
ServerNotification::ThreadSettingsUpdated(_) => None,
|
||||
ServerNotification::ThreadSettingsUpdated(notification) => {
|
||||
Some(notification.thread_id.as_str())
|
||||
}
|
||||
ServerNotification::ThreadArchived(notification) => Some(notification.thread_id.as_str()),
|
||||
ServerNotification::ThreadUnarchived(notification) => Some(notification.thread_id.as_str()),
|
||||
ServerNotification::ThreadClosed(notification) => Some(notification.thread_id.as_str()),
|
||||
|
||||
Reference in New Issue
Block a user