From 262cf40f44da9018397f82b99b9691c47fc1fdc0 Mon Sep 17 00:00:00 2001 From: glyph Date: Thu, 11 Aug 2022 09:03:00 +0100 Subject: [PATCH] undo off-by-one change --- src/sbot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbot.rs b/src/sbot.rs index 6517d07..06c3d78 100644 --- a/src/sbot.rs +++ b/src/sbot.rs @@ -67,7 +67,7 @@ pub async fn get_message_stream( let history_stream_args = CreateHistoryStream::new(public_key.to_string()) .keys_values(true, true) - .after_seq(sequence_number + 1); + .after_seq(sequence_number); sbot.create_history_stream(history_stream_args) .await