Allow avatar replacement alongside downloads and correct join fixtures
This commit is contained in:
1 parent
dc156c7f2b
commit
9bfdf3ea41
3 files changed
+10
-6
No files matched your search
@@ -308,9 +308,9 @@ static void member_put_self(struct UTUN_INSTANCE* inst, const char* name) {
|
||||
}
|
||||
|
||||
static void member_put_placeholder(struct UTUN_INSTANCE* inst, int idx, const char* name) {
|
||||
char userinfo[256]; snprintf(userinfo, sizeof(userinfo), "{\"name\":\"%s\"}", name);
|
||||
member_sync_put(inst, g_sh.ch_id, g_sh.nid[idx], g_sh.x_pub[idx], g_sh.ed_pub[idx],
|
||||
NULL, 0, NULL, 0, userinfo, NULL, NULL, 0, 0, NULL);
|
||||
(void)name;
|
||||
if (topo_node_sqlite_member_placeholder_put(inst->topo_sqlite_db, g_sh.ch_id, g_sh.nid[idx], g_sh.x_pub[idx], g_sh.ed_pub[idx]) < 0)
|
||||
DEBUG_ERROR(DEBUG_CATEGORY_MEMBER_SYNC, "test: cannot create member placeholder node=%016llx", (unsigned long long)g_sh.nid[idx]);
|
||||
}
|
||||
|
||||
/* C специально откладывает обработку KEY_REGISTER. Ссылки до этого момента быть не должно. */
|
||||
|
||||
Reference in new issue
Block a user