rename DC_GCM_SYSTEM_ONLY to DC_GCM_INFO_ONLY

apply suggestions of r10s
This commit is contained in:
Simon Laux
2021-01-14 16:19:59 +01:00
committed by B. Petersen
parent 93845c2a18
commit 9957bad83d
4 changed files with 10 additions and 9 deletions

View File

@@ -614,7 +614,7 @@ class TestOfflineChat:
lp.sec("check message count of only system messages (without daymarkers)")
dc_array = ffi.gc(
lib.dc_get_chat_msgs(ac1._dc_context, chat.id, const.DC_GCM_SYSTEM_ONLY, 0),
lib.dc_get_chat_msgs(ac1._dc_context, chat.id, const.DC_GCM_INFO_ONLY, 0),
lib.dc_array_unref
)
assert len(list(iter_array(dc_array, lambda x: x))) == 2