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

feat: handle conversation access update event (WPB-10850) #2981

Merged

Conversation

alexandreferris
Copy link
Contributor

@alexandreferris alexandreferris commented Aug 30, 2024

BugWPB-10850 [Android] Updating access roles from web not reflected on android


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

When receiving conversation.access-update we were not handling properly from sync

Causes (Optional)

Not implemented

Solutions

Add AccessUpdateEventHandler to handle events for conversation.access-update and properly update conversation access roles

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

  • Run with AR
  • create a group
  • from WEB change GUESTS / SERVICES
  • changes are reflected on Android

Copy link

sonarcloud bot commented Aug 30, 2024

Copy link
Contributor

github-actions bot commented Aug 30, 2024

Test Results

3 193 tests  +6   3 088 ✔️ +6   3m 32s ⏱️ +4s
   548 suites +1      105 💤 ±0 
   548 files   +1          0 ±0 

Results for commit e38390a. ± Comparison against base commit e07247e.

♻️ This comment has been updated with latest results.

@alexandreferris alexandreferris requested review from a team, typfel, yamilmedina, MohamadJaara, mchenani, saleniuk, Garzas and vitorhugods and removed request for a team August 30, 2024 13:35
@datadog-wireapp
Copy link

Datadog Report

Branch report: feat/handle_conversation_access_update_event
Commit report: b9db113
Test service: kalium-jvm

✅ 0 Failed, 3088 Passed, 105 Skipped, 12.16s Total Time

@alexandreferris alexandreferris added this pull request to the merge queue Aug 30, 2024
Merged via the queue into release/candidate with commit a4c9999 Aug 30, 2024
23 checks passed
@alexandreferris alexandreferris deleted the feat/handle_conversation_access_update_event branch August 30, 2024 20:53
github-actions bot pushed a commit that referenced this pull request Aug 30, 2024
* feat: add mappers from api to model and from model to dao for access update event

* feat: add correct receiving values for access update (access and accessRole)

* feat: create handler for access update event received and its usage

* feat: add return of Either for access update handler

* feat: rename handler to remove redundant conversation

* feat: rename clashing function naming

* test: add tests for receiving access update event

* chore: rename mapper method naming

* test: add test for new mappings in ConversationMapper

* chore: renaming of access update event handler

* test: add tests for AccessUpdateHandler
github-merge-queue bot pushed a commit that referenced this pull request Sep 2, 2024
)

* feat: add mappers from api to model and from model to dao for access update event

* feat: add correct receiving values for access update (access and accessRole)

* feat: create handler for access update event received and its usage

* feat: add return of Either for access update handler

* feat: rename handler to remove redundant conversation

* feat: rename clashing function naming

* test: add tests for receiving access update event

* chore: rename mapper method naming

* test: add test for new mappings in ConversationMapper

* chore: renaming of access update event handler

* test: add tests for AccessUpdateHandler

Co-authored-by: Alexandre Ferris <[email protected]>
@echoes-hq echoes-hq bot added the echoes: bugs Technical or functional defects in the product label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants