Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Minimize the chat state/complexity #135

Merged
merged 4 commits into from Feb 24, 2015
Merged

Minimize the chat state/complexity #135

merged 4 commits into from Feb 24, 2015

Conversation

quartzjer
Copy link
Member

During testing the current chat channel proved far too complex to be a minimal utility, this is an attempt to simplify it even further.

  • a stateless join channel for inviting and the joining process
  • a profile message type that is attached to joins
  • join messages are only sent by the leader
  • all messages happen within a chat channel
  • all participants must always be in sync

@quartzjer
Copy link
Member Author

I'm very happy with how this turned out, the implementation is significantly improved and was able to (re) do it in a few hours.

@quartzjer
Copy link
Member Author

Few more cleanups in now, going to merge this shortly...

quartzjer added a commit that referenced this pull request Feb 24, 2015
Minimize the chat state/complexity
@quartzjer quartzjer merged commit e3a7dbd into master Feb 24, 2015
@quartzjer quartzjer deleted the chat2 branch February 24, 2015 03:07
@dvanduzer
Copy link
Member

Not introduced in this commit, but is the weird escaping intentional? https://github.com/telehash/telehash.org/blame/master/v3/channels/chat.md#L102

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

Successfully merging this pull request may close these issues.

None yet

2 participants