docs: Update example

This commit is contained in:
PapaTutuWawa committed 2023-06-16 00:18:14 +02:00
1 parent 4ed2d3dec3
commit 0b2d6f0a97
2 files changed
+8 -3

No files matched your search

+5
View File
@@ -145,6 +145,11 @@ void main() async {
/// The text of the <payload /> element, if it exists. If not, then the message might be
/// a hearbeat, where no payload is sent. In that case, use null.
payload,
/// Since we did not receive this message due to a catch-up mechanism, like MAM, we
/// set this to false. If we, however, did use a catch-up mechanism, we must set this
/// to true to prevent the OPKs from being replaced.
false,
),
);