Skip to content

Commit a82818a

Browse files
committed
initial_snapshot: Add emailAddressVisibility override in InitialSnapshot method
I think we forgot this. No callers in the tests currently use this override, but it's probably a good idea to have it properly overriding anyway.
1 parent 03dfdf1 commit a82818a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/example_data.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ InitialSnapshot initialSnapshot({
804804
zulipMergeBase: zulipMergeBase ?? recentZulipVersion,
805805
alertWords: alertWords ?? ['klaxon'],
806806
customProfileFields: customProfileFields ?? [],
807-
emailAddressVisibility: EmailAddressVisibility.everyone,
807+
emailAddressVisibility: emailAddressVisibility ?? EmailAddressVisibility.everyone,
808808
serverTypingStartedExpiryPeriodMilliseconds:
809809
serverTypingStartedExpiryPeriodMilliseconds ?? 15000,
810810
serverTypingStoppedWaitPeriodMilliseconds:

0 commit comments

Comments
 (0)