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

chat: add CHA-RL9 to explain "attaching piggyback" #232

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

AndyTWF
Copy link
Contributor

@AndyTWF AndyTWF commented Nov 19, 2024

Closes #228

lawrence-forooghian added a commit to ably/ably-chat-swift that referenced this pull request Nov 21, 2024
Based on [1] at 32b642c.

Resolves #131.

[1] ably/specification#232
lawrence-forooghian added a commit to ably/ably-chat-swift that referenced this pull request Nov 21, 2024
Based on [1] at 32b642c.

Resolves #131.

[1] ably/specification#232
@sacOO7
Copy link
Collaborator

sacOO7 commented Nov 22, 2024

This is also applicable on sending ephermal reactions via send method right?

@AndyTWF
Copy link
Contributor Author

AndyTWF commented Nov 22, 2024

This is also applicable on sending ephermal reactions via send method right?

Yes, but I decided not to alter the spec here because there's currently a DR open that will make that spec point entirely redundant.

Copy link
Collaborator

@sacOO7 sacOO7 left a comment

Choose a reason for hiding this comment

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

LGTM

@lawrence-forooghian
Copy link
Collaborator

I want to get this one merged so that I can implement it in Swift; have rebased and will merge.

@lawrence-forooghian lawrence-forooghian merged commit bc46003 into main Nov 25, 2024
2 checks passed
@lawrence-forooghian lawrence-forooghian deleted the chat-attaching-ops branch November 25, 2024 11:56
@sacOO7
Copy link
Collaborator

sacOO7 commented Nov 28, 2024

@AndyTWF Btw, do we not check for ATTACHED state for presence leave as per CHA-PR4 ?

@AndyTWF
Copy link
Contributor Author

AndyTWF commented Nov 28, 2024

@AndyTWF Btw, do we not check for ATTACHED state for presence leave as per CHA-PR4 ?

Yes - will add.

@sacOO7
Copy link
Collaborator

sacOO7 commented Nov 28, 2024

The same goes for CHA-T4a1 ( typing presence enter ) and CHA-T4a2 ( explicit typing.stop() - typing presence leave )

@sacOO7
Copy link
Collaborator

sacOO7 commented Nov 28, 2024

Simply, any room operation triggered by the user, that sends msg over realtime connection should check for RoomStatus.ATTACHED

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

Successfully merging this pull request may close these issues.

Presence spec points assume ATTACHING status is always caused by an ATTACH operation
3 participants