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

Correct ChatMode value #278

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

LossyDragon
Copy link
Collaborator

Description

ChatMode.NEW_STEAM_CHAT's value is actually 2 to utilize the new unified chat features.

Current Work around is to send a protobuf to steam to enable this feature, usually during or after LoggedOnCallback callback.

 var uiMode = new ClientMsgProtobuf<SteammessagesClientserver2.CMsgClientUIMode.Builder>(
         SteammessagesClientserver2.CMsgClientUIMode.class,
         EMsg.ClientCurrentUIMode
 );
 uiMode.getBody().setChatMode(2);
 steamClient.send(uiMode);

Checklist

  • Code compiles correctly
  • All tests passing
  • Samples run successfully
  • Extended the README / documentation, if necessary

@LossyDragon LossyDragon merged commit b4b3d74 into Longi94:master Sep 4, 2024
1 check passed
@LossyDragon LossyDragon deleted the chatmode-v2 branch September 4, 2024 17:58
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.

1 participant