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-1513] partial message update #576

Merged
merged 11 commits into from
May 18, 2021
Merged

Conversation

thesyncim
Copy link
Member

@thesyncim thesyncim commented Jan 5, 2021

Submit a pull request

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)

Description of the pull request

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2021

Size Change: +1.36 kB (0%)

Total Size: 224 kB

Filename Size Change
dist/browser.es.js 48.6 kB +321 B (0%)
dist/browser.full-bundle.min.js 28 kB +84 B (0%)
dist/browser.js 49.1 kB +319 B (0%)
dist/index.es.js 48.6 kB +322 B (0%)
dist/index.js 49.2 kB +319 B (0%)

compressed-size-action

@thesyncim thesyncim marked this pull request as ready for review May 14, 2021 08:26
AnatolyRugalev
AnatolyRugalev previously approved these changes May 14, 2021
Copy link
Contributor

@AnatolyRugalev AnatolyRugalev left a comment

Choose a reason for hiding this comment

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

LGTM.

We'll sync pinMessage shortcuts a bit later

AnatolyRugalev
AnatolyRugalev previously approved these changes May 16, 2021
src/types.ts Outdated
Comment on lines 1714 to 1715
set?: Partial<MessageResponse<MessageType>>;
unset?: Array<keyof MessageResponse<MessageType>>;
Copy link
Contributor

Choose a reason for hiding this comment

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

do we allow updates on all the MessageResponse properties, like message.cid?

Copy link
Member Author

Choose a reason for hiding this comment

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

no, these are the allowed fields:

  • custom data (any field)
  • text
  • html (server side)
  • attachments
  • mentioned_user_ids
  • quoted_message_id
  • silent
  • pin

src/types.ts Outdated Show resolved Hide resolved
@thesyncim thesyncim merged commit 5f713f7 into master May 18, 2021
@thesyncim thesyncim deleted the CHAT-1513-partial-message-update branch May 18, 2021 10:32
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.

4 participants