Skip to content

Commit

Permalink
Actually archive it
Browse files Browse the repository at this point in the history
  • Loading branch information
laevandus committed Dec 5, 2024
1 parent e458a88 commit 39a7ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/StreamChat/Workers/ChannelMemberUpdater.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ChannelMemberUpdater: Worker {
partialUpdate(
userId: userId,
in: cid,
updates: isArchived ? MemberUpdatePayload() : nil,
updates: isArchived ? MemberUpdatePayload(archived: true) : nil,
unset: isArchived ? nil : [MemberUpdatePayload.CodingKeys.archived.rawValue],
completion: { completion($0.error) }
)
Expand Down

0 comments on commit 39a7ad7

Please sign in to comment.