chat: deleted-флаг выводить из adm_tags — member_block_put вместо деструктивного member_put, удалить member_put, фильтр deleted=0 в списках
This commit is contained in:
1 parent
94136564ee
commit
ee8b2a4a45
5 files changed
+7
-62
No files matched your search
@@ -33,13 +33,6 @@ int topo_node_sqlite_channel_put(sqlite3* db, const char* channel_id,
|
||||
const uint8_t* ed25519_pub, const uint8_t* ed25519_priv,
|
||||
const uint8_t* signature);
|
||||
|
||||
int topo_node_sqlite_member_put(sqlite3* db, const char* channel_id, uint64_t node_id,
|
||||
const uint8_t* join_sig, uint64_t join_ts,
|
||||
const uint8_t* update_sig, uint64_t update_ts,
|
||||
const uint8_t* x25519_pubkey, const uint8_t* ed25519_pubkey, const char* userinfo,
|
||||
const uint8_t* creator_sig,
|
||||
const char* adm_tags, const uint8_t* adm_tags_sig, int storage);
|
||||
|
||||
/* Упрощённый плейсхолдер мембера от topo_group (source=1, не участвует в merkle-хеше). */
|
||||
int topo_node_sqlite_member_placeholder_put(sqlite3* db, const char* channel_id, uint64_t node_id,
|
||||
const uint8_t* x25519_pubkey, const uint8_t* ed25519_pubkey);
|
||||
|
||||
Reference in new issue
Block a user