core: don't mark contacts as used on api get chat (#1522)

This commit is contained in:
JRoberts
2022-12-07 19:05:32 +04:00
committed by GitHub
parent fda8836ab8
commit 9893aa665a
2 changed files with 1 additions and 5 deletions

View File

@@ -4123,9 +4123,6 @@ testGroupLink =
-- contacts connected via group link are not in chat previews
alice @@@ [("#team", "connected")]
bob @@@ [("#team", "connected")]
-- calling /_get chat api marks it as used and adds it to chat previews
alice #$> ("/_get chat @2 count=100", chat, [])
alice @@@ [("@bob", ""), ("#team", "connected")]
alice <##> bob
alice @@@ [("@bob", "hey"), ("#team", "connected")]