0508 20:58 补充上一个 UserDB -> im_user bug
This commit is contained in:
parent
765ee70641
commit
12d889fd52
@ -37,7 +37,7 @@ bool UserDB::insert_user(uint64_t account, const std::string &password, const st
|
||||
auto query = conn->query();
|
||||
mysqlpp::String info(client_info);
|
||||
|
||||
query.insert(im_user(account, "用户"+ std::to_string(account), password, password_salt, info));
|
||||
query.insert(im_user(account, 0, "", "用户"+ std::to_string(account), password, password_salt, info));
|
||||
return query.exec();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user